Are you sure this is a temperature sensor or that you've connected all the sensors correctly?
What you are showing seems to be the connector for oil pressure switch. X6231 connector on this diagram:
B6231/X6231. It also matches the wire color for the connector from this diagram:
Oil Pressure Switch