Advice on buying junkyard engines?

Obviously check the oil for level and presence of water or fuel. If you have access to a borescope i would check each cylinder for wear.
Magnums are known for their low cylinder wear and you should still see cross hatching on a good one. Bring a plug wrench with you.