97 to early 99 use same unit bearings and rotors as you. Late 99 to 06 are the newer bearing and rotor. Nobody knows exactly when the switch happened (as in what time in 99).
Order from rockauto, not Amazon. Or at least somewhere that isn’t Amazon. Too many fakes. On my YJ I went with later model bearings and rotors, but I don’t know that it matters that much in the end. I liked the longer wheel studs on the later bearings. Don’t know that either bearing model is better or worse either way. My stock ones were still doing fine when I replaced them and I never had a failure on the later ones either. I think both are ok in design.
Most important thing is torque whatever you get to 175 ft lbs on the nut.