before you even ask about replacing an engine, how bad is the rust?
transmission, is it stock? ever been maintainced? how are the tires? stock suspension parts?
if your car is good in all of those areas, then i would go for the motor swap. otherwise i wouldnt justify spending a thousand dollars to swap an engine into an already dead car.