You can check with the local junkyard and see if you can pull an engine in reasonably good condition and have it installed. Many places actually do this and give you a 3-4 month warranty without telling you the engine came from a junkyard.
A 22REC is said to be $400-700. Say pay the same amount for labor you'll have $800-1400. However, it the engine is faulty and you have to pull it even under junkyard warranty then you're out labor.