It will work.
Depending on the lengths of the input gear and number of splines you might need to swap the input gear from the dead TC.
Another culprit could be the drive shaft length and yoke compatibility. But all this sure has been done before.
http://jeephorizons.com/tech/tcase.html