Sounds more like a sender issue than the gauge itself. Never worked on a '97, so I don't know if it has separate senders for the ECU and the gauge like a '94 does.
My oil line fix
My 100k stopped odometer fix
Brace for impact, I'm in a "modifying mood". Massive thread count inbound.