The fan assembly has become a fairly common failure item, they drop right in. I've had to yank mine in order to add the oil pressure gauge and also to change the alternator.
The light comes on telling you that the ECU sees a problem with the cooling system, the problem is, the Fan Module is telling the ECU that the current going to the fan motor does not match what the Fan Module expects.
Read the attached PDF.