I'm in a hurry, but your easiest route would be to use a 98+ 2WD ranger with the IFS suspension. That will make clearing the oil pan a breeze.
There are engine 617 engine bolt patterns over on SuperTurboDiesel.com
I'm sure you can find M05D patterns online easy enough.
240D flywheel is easy, or find a 1-piece rear main SBC flywheel and drill the Mb pattern on it, then turn down to fit in the ranger's transmission tunnel.
I have a 98 2wd, I looped the power steering lines from the rack and swapped in a smaller serpentien belt when my PS & AC decided to explode. It's not hard at all to turn while moving, I like my armstong steering
Looping the lines and installing a vent are CRITICAL though-if you leave everything connected you're fighting the pump.