Transmission and bellhousing won't work, the transfer case will if you swap out the input shaft to match the 4.0L transmission.
But I have to ask WHY? Why go through the trouble, time, and expense, just to have another run of the mill 4.0L jeep with a hacked up drivetrain install? It'll be like all the other 4.0L jeeps out there, but worse.
If you're going to go through all the trouble, swap in something that will make the swap worthwhile, like a 4.3L Vortec or v8.