A 5.0 is a 5.0 when you get down to the basic engine and running a intake and carb on it. Just do some research on what oil pan fits best, the mustang had the double sump, the f150's had the rear sump. Not sure what the Explorer came with.
Engine mount holes are the same in the block. Since you are running a carb, you need to decide what fuel system you will use. Either switch the front of the engine around to use a mechanical pump, or get a aftermarket low pressure electric pump. Any ranger with fuel injection will have a pump with too much pressure.
You need to decide what ignition system you are going to run. The distributor on the 5.0 EFI uses a TFI system and requires a computer system. Since you are converting to a carb, you will need a old duraspark distributor/Ford system, or you can use a aftermarket HEI hybrid distributor, or there are many others like MSD and mallory. You could even round up a old points distributor and put in a petronix module on it.
Get power and fuel to it, it should take right off.
On the transmission, since you are 2wd, I would look for a 2wd trans that originally came behind the 302 in whatever application. Be warned any automatic overdrive besides the AOD will need stand alone computer to run it.