If current trans has both solenoids then you should just need to remove one and install the other, every thing should be the same.
2.9l and 4.0l used the same block so same bolt pattern
And no change in length so drive shaft should be right.
NSS switch should just plug in
If you have never swapped or installed an automatic before then.......................
An IMPORTANT MESSAGE
The torque converter powers the transmission's main pump(front pump), you will see slots in the torque converters shaft, these slots line up with tabs inside the transmission.
So what you need to do is to put the torque converter on the trans and slide it in, then push in on the torque converter while spinning it, you don't have to push hard or spin fast, you will feel slide in a bit and maybe hear it "click" 2 or 3 times, just spin it a few times to make sure it is in all the way and lock in with front pump.
Now put a straight edge across the bellhousing, torque converter bolt holes should NOT touch straight edge.
When you install the transmission and it is bolted to engine tight, the torque converter should slide forward an 1/8" or so to be bolted to the flexplate.
What can happen for first timers, like my first time, is that you put torque converter in place then bolt trans to engine you wiggle it around to get the bolts tight, might even hear a clunk or two as you wiggle it around.
The clunk was the front pump breaking, which then allows torque converter to slide back farther so you can bolt up the trans tight to block.
Then you bolt up the torque converter to flex plate, and hook everything else back up.
Clean things up so you can test drive.
You start engine put it into gear and.................nothing, no reverse, no forward, lol, no nothing.
And replacing front pump requires full disassembly of the transmission, bummer.