Yes, both are 5R55E transmissions and both will have 4.0l bell housings, so plug and play
If you have never installed an automatic you MUST install torque converter inside the bell housing and slide it in all the way while TURNING IT, it will slide in 2 or 3 times as you push in and turn it, it is seating on/in the main pump and input shaft.
Failure to do this will RUIN the transmission, full rebuild required.
And MAKE SURE torque converter doesn't slide out as you get trans into place, if it does repeat the turning and pushing to get it seated inside the transmission again.
Torque converter should NOT touch the flexplate when trans is bolted to engine, you should have to slide it forward 1/8-1/4" to bolt it to flexplate
Don't use the broken transmissions torque converter, it could have metal filing inside that will be transferred to other transmission.
Also blow out as much fluid from trans cooler and lines as possible for the same reason