I've never swapped an OEM engine for an alternate, but if I were to, I would look for a dead truck that had the engine I wanted for all the peripheral parts. Engine mounts, sensors, wiring harness, gauges, etc.
Years ago, I helped a guy dismantle 2 different donor trucks. He was building a '46...