Where do I connect the temperature sensor on a newer Jeep Cherokee head? It's the one that should go to the sensor on the dash board.

I had the 96 head replaced by one mechanic and they used a newer Cherokee head (98 or 99) and had to mount the temperature sensor on the thermostate housing.

I took my Cherokee to a 2nd mechanic to replace the radiator and he also replaced the faulty thermastat housing, but now the 2nd mechanic mounted the temperature sensor to the engine block and my dash light keeps turning on and also turning on the check engine light.

Both mechanics are saying the other mechanic needs to fix the issue and neither one is admitting it's their issue. Where do I install the temperature sendor on the new head so it doesn't turn on the 96 engine temperature light and check engine light?