Another option is a used motor. I've replaced a lot of motors over the years for customers and friends. The one thing they had in common was no matter how well the motor ran, most of them sold the car within 1-2 years. When I asked why, they all said something to the effect: "It was running fine, but I just couldn't trust it, so I sold it while it was running well."
The easiest and least expensive thing to do is to install the same year used motor. This will give you, IME, the best chance of recovering your money later.