Re: help identifing part...
What looks to be the sensor end is screwed into the head in a location to read temprature so IMO youve got whats left of someone elses add on coolant temp gauge. Going by the connector that is being held in your hand it looks to be an off brand or import type set up cause Ive never seen that type connector on any temp gauge that autometer, stewart warner, or any of the other typical US makes but then again Ive havent seen every single one they make either.
If I had to guess it is a connector similar to what SPA digital gauges use. Other than being 99% sure its for temprature monitoring by its location I cant tell you anything else about it.