Re: t-case swap
Eventhough the 4.0 uses the 42RE transmission and the 4.7 the 5-45RFE, the T-case should bolt right up to either one of these transmissions.
You will need a different rear prop shaft and shifter assy. There is no electronics involved in the 247 nor 242 T-cases. The only thing is that the 242 has a position sensor, which will not be used on your jeep.