Don't junkyards guarantee their engines to be good? A compression and leak-down test would give you a good idea of what kind of condition it is in. If you put a JY engine in you will still change all the fluids, thermostat, plugs and wires... if you get one with LOW MILES it may be your best bet. How much for a used engine?