^^what he said.
make sure to grab the gear position sensor off the new tcase as well, leave some wires there, then those wires need to be tapped into the gauge cluster. So your 4hi and 4lo lights will work properly. No other wiring is needed.
you may or may not have the proper tailhousing on the trans....need to make sure on the driver side of the tailhousing, there's two threaded bungs. those threaded holes are what the shifter linkage bolts to. if you dont have those, you'll need a new tailhousing that has the threads.
The case you want, comes out of a 1st gen explorer and about 95-97 rangers with the 4.0. on the case there's a few markings and tags that tell you if it's a 1350 or 1354. You want a 1354.
Grab a 95-99ish style front driveshaft from an explorer...they are double cardon design, so no CV bearing BS like on 98+ rangers. And, it'll bolt right to that 1354 you want to put in.