I messed up bad

Thats the temp sending unit. You can buy replacement ends and splice it back into your wiring. The sender will look like this

20210204_165239.jpg