The hardtop is the same, but you have to trim a little bit on the sides to make it fit on a 94 and you have to put rivnuts on the cappings in a 94.
If it has been fitted to a 94, it will fit a 95/97 and the small trimming is irrelevant. If you get one off a 95/97, you will have to trim and fit rivnuts. This is all set forth in the instalation manual.
*not legal advice*