The biggest issue with putting the SHO V6 into any rwd vehicle is that the coolant outlet and thermostat is at the rear of the engine, overhanging the transmission, and that the right head overhangs the transmission. Additionally, the intake situated normally has the air inlet over the transmission. You will need to deal with all of those issues to put it into a Ranger (or other rwd vehicle). Also, the engine is quite tall, which is not an issue in a Ranger, but in many other vehicles it is a problem.
After you deal with moving the engine / trans forward to allow the head and thermostat housing to clear the firewall (or modify the firewall), then you will discover that the location for the motor mounts is way too far forward on the motor, so you will have a challenge making motor mounts fit.
When you are all done and drive the vehicle, you will be reminded that the engine only has 200 lb-ft of torque, which is less than the stock 4.0 Ranger engine, unless you have also put a turbo on it.