It is always a good idea to unplug the battery when replacing or even messing with sensors. Leave it off for a good half hour then drive. The code will reset and hopefully not come back.
__________________
MINE - 97' SR5 manual (Desert Dune Metallic)
HER's - 14' limited (Altitude Black)