HiCustomer Thank you for asking your question on JustAnswer.
The problem is caused by a malfunctioning cooling fan motor assembly as referenced in this ford service bulletin.
Some vehicles may exhibit an engine overheating condition and/or the Malfunction Indicator Lamp (MIL) may also be illuminated with codes P1285 and P1299 stored in memory. This may be caused by an inoperative Hydraulic Cooling Fan (HCF). This inoperative condition may be intermittent.
Replace the HCF motor with revised part XW4Z-8K621-AA to correct the condition