What's this?

Really curious about this thing dangling loose on a wire near the battery of my 96 ford escort. And where should it go? Here’s the photo.

http://www…g/part.jpg

Check under the black inlet duct for a hole. It looks like an air temp sensor.

Tester