if the engine number is endorsed in the registration book file papers are in order updated taxes etc, there is no harm to buy a engine swapped vehicle.
ask him for the maintenance schedule and fuel consumption. since swap, and pay a visit to his regular workshop along. Talk to mechanic what was the compression readings of the engine before rigged into vehicle. Also ask which COMPUTER is used when engine is swapped. These question are important so that you know about your money being invested wisely.