Found this hanging out.. Looks like a temp sensor?

91 6g72 MM 5spd

where does it go? Can't find a hole that it goes into and it is obviously broken, where can I buy a new one?