No, the 1997 master cylinder is completely different.
The 1997 uses a twist lock mount that is smaller than the
"Twist lock" mount used on the 1993-94.
The 1993-94 twist lock mounts into a metal "cup" that is bolted to the firewall.
the 1995-current master cylinder twistlocks into a "bracket" that it an integrally cast
part of the pedal support bracket INSIDE the cab.
Also the earlier (1985-1992) AP-Lockheed master cylinder will fit
and function (sorta...) in a 1993-94 if the metal cup is removed from the firewall, but..
(and this is a big but...) most people wouldn;t like the result...
the 85-92 master cylinder uses a larger bore diameter and if used with the 1993-current plastic slave cylinder the pedal motion is VERY "short" the clutch completely releases
in about 3/4"-1" of pedal travel, you essentially get NO modulation unless you have extreemly fine motor control of your left foot....
The 1993-94 master cylinder uses a smaller bore so that it requires a longer pedal stroke to do the same work, more travel means more modulation.
sometimes even if parts can be made to fit they still won't work right...
AllanD