what temperature sensor did you replace? There is a sensor for the gauge on the dash and another solely for the computer.
Now something to look at:
a fan relay, Dodge/Jeep trucks had this problem because they switched from mechanical fan driven by the water pump pulley to electric fan assembly and the fan would seize up. Check the fan. Fan relays, AC relays(high speed fan relay).
"My 98 Oldsmobile is so Super Sperrrrrrrrm! Suckers to the side I know you hate...my 98!! You gonna get yours! Get with it, the ultimate homeboy car."
Public Enemy "You Gonna Get Yours"