You have to either change the main shaft of the tranny or get a 4wd trans.
I did this swap. Ridiculously easy. I kept grinning at how easy it was. The holes for the bracket for the Tcase shift linkage are there. Everything is there. Where the tcase shifter would mount there's just a blank plate screwed in. Comes out, shifter goes in.
But you need the tcase, all the shift linkage and bracket and shifter assembly. You could always buy an aftermarket cable shifter though too. And then you'll have to figure out what to do about the trans. Buy a front driveshaft from the correct jeep and you're in business.
With my setup I had to extend the wiring for the speedo back to the tcase since it was on the back of the tranny before. It wasn't quite long enough as is.