If you have a 5 speed then you have a M50D trans. They are had to come by with the 3.0 bolt pattern, but you can swap the tail shaft and tail housing from any 4x4 M50D (doesn't matter what year or motor). For tcase it would be easiest to run a manual case that way you doent have to get into the 100 miles of 4x4 wiring. The best tcase for your application would be a 1354 manual case. I believe the the 98+ trucks use a CV joint at the front output on case, so you will need to find one from a 98+ Ranger or Expo.
-plumcrazy