CEL was for excessive throttle angle. I replaced the TPS sensor on the TB because the plug end for the one on the car was shattered and had RTV on it to keep it together

So, looks like I didn't put the new sensor on correctly or something because with the car off, it read 5.5% and doesn't respond to throttle input at all. It just stays right at 5.5% when the car is turned on and idles and if I blip the throttle to say 25% input, it doesn't move. I took the sensor off a stock Cougar throttle body that has been collecting dust. Can this be salvaged (reinstalled properly), or does it sound like a faulty sensor?