The full sized Ram 4x4 to 2x4 transmissions were the same up through at least 2012. Had to change the output shaft (requires complete trans disassembly) and then install the rear drive tail shaft and whatever else was needed there.
You would probably be better off to spend the extra money to buy a rear wheel drive trans.