Getting repeated two codes, 2000 S10 4.3 4x4 on 2001 Chevrolet S10

Keep getting P0118 and P0123. Vehicle begins to buck and hesitate when this happens also see the temp guage bottom out. Replaced temp sensor and it shows a little improvement. Thanks!

Asked by for the 2001 Chevrolet S10
po118 is eng coolant temp sensor and po123 is the throttle pos sensor.the gauge is control by temp senor for temp gauge not the coolant temp senor it controls imput to computer about eng temp
If that sensor is shorting, could it cause those problems?