Few things to check is the connection itself underneath mounted at the fan shroud for visible issues IE broke or pulled apart.
Normally when this code is set is when the fan speed is less than 75RPM or more than 4000RPM.
If the connector has not come apart or damaged or if the above statement has not been exceeded then a more in depth search will be required and you will need a decent DRB to test it.
OTHER DTC'S
(Y5) SIGNAL CIRCUIT SHORT TO 5-VOLT SUPPLY (Y3) CIRCUIT
(Y5) SIGNAL CIRCUIT OPEN FROM ECM TO FAN CLUTCH ASSEMBLY
(Y3) SUPPLY CKT OPEN FROM ECM HARNESS CONNECTOR TO FAN CLUTCH HARNESS
CONNECTOR
INTERMITTENT CONDITION
(Y5) SIGNAL CIRCUIT SHORTED TO RETURN IN THE HARNESS
(Y5) SIGNAL CIRCUIT SHORTED TO VOLTAGE
(Y5) SIGNAL CIRCUIT IN ECM SHORTED TO GROUND INSIDE ECM
(Y5) SIGNAL CIRCUIT SHORTED TO VOLTAGE IN THE ECM
(Y3) 5-VOLT SUPPLY CIRCUIT IN ECM