You'll have to find a wiring diagram for the '94 Grand Cherokee and wire it to a switch. You'll have to also figure out how to wire the lock-up torque converter.
Don't forget the transfer case is clocked higher on the YJ transmission than it is on the Grand Cherokee, so your transfer case...