We have done the fan test in and out of the car. We checked the fuses, replaced the temperature sensor that controls the fans. The plugs going to the relays are hot. Not sure how to test the relays or what to do next
You need to be provide more information.
Is this a new problem?
Why do you say the fans don't work is the engine over heating?
Be more specific on how you tested the fan relays relays.
There is no need to remove the fans or relays to verify their operation.
Do you have a volt meter?
Are you saying you connected Pin A to Pin B on the diagnostic connector and turned the ignition On the fans do not run?
If not you ground the Dark Green/White wire at the relay socket and turn the ignition On.
The Primary fan should run.
For the Secondary fan you ground the Dark Blue/White wire turn the ignition On and the Secondary fan
should run.
If both test pass the ECM is probably bad.
Only other test would be to verify the ECM has a bad ground.
If the engine or transmission have recently been pulled it's possible the ECM ground was not reinstalled.
It's bolted to a transmission to bellhousing stud on the driver side.
Which temperature sensor did you replace? The Engine Coolant Temperature Sensor is located on the water pump driver side.
It has a Yellow and Black wire on the connector.
Other methods to force the fans on.
If you remove the ECT sensor connector and leave it unpluged and jump the Yellow and the Black wires together that will simulate a temperature over 266F. When you start the engine both fans should run.
The ECM will also turn the fans on if the AC high pressure is over reaches 189 psi (shouldn't take more than 20 seconds) no matter what the engine temperature is.