Ok now we know that the car has been driven and has fresh gas in it. That temperature sensor you replaced has a ground wire that goes to a bundle of ground wires. Trace it back until you find were it is joined by the ground from the several other sensors. It should be a section that has a big blob of electrical tape wound around the wires. Time and moisture will cause that bundle connection to corrode and since the ECM takes all its information from the grounds. Therefor if it is getting a weak signal it will adjust in an effort to get the correct value for that sensor. When it does this it sends a code for the sensor since it does not have any way to determine if the sensor is bad so it simply says look at this system for the problem. With the long cold winter storage time were you live stored cars are a home with building materials for the mice that come in from the outdoors to stay warm. They seem to think electrical wiring is a delicacy.
View attachment 4627
As for the codes 42 and 45 you need to clean the grounds to the frame. As earlier stated the FSM is the source of what to do to diagnose code problems. If you have a FSM it would tell you to check the grounds on all of the circuits referenced by the code. I am only providing this thumbnail look at what you it would tell you to do just in case you don't have an FSM(Field Service Manual)