nope!
In fact unless you have access to a machine shop and want to do a full tear down you cannot use it without swapping in the earlier TCU and possibly a manual XJ ECU depending on whether the 98 ECU will be happy talking to a 97 TCU.
You *must* use a 98 or later if you want bolt-up, otherwise you'll have to mill out a mount point on the front left of the housing and install an input speed sensor and the rotor that it gets its signal from, as well as removing and swapping the output speed sensor, 4WD adapter housing, and the output speed sensor's rotor.