rj2029x

I recently changed out my A/C compressor. After I finished my transmission makes like a clunk when it shifts gears. I'm getting a IAT (Intake Air Temp) Sensor code, saying that it could be a bad sensor, faulty wire, or bad connection. Was wondering if anyone had any insight into this?