Most likely you have an intermittent loose connection on the auxiliary fan. Try to bypass the sockets and observe. Dapat pag above normal temperature mag on ang auxialiary fan, if not, then that is where you start looking.
wickednasty, try simulating the overheat while parked in your garage. Kahit slightly higher lang than normal temp level (no need to overheat all the way). Then check for the following:
While still running quickly verify if the radiator fan is running (not the aircon condenser fan). If not - then possible faulty fan motor na or faulty connection.
If fan works, shut off engine then pour some water on top of your radiator and at the exit hose going back to the engine (lower portion). If top of radiator is hot (water evaporates quickly) and the hose below is not - possible na it's the thermostat.
Just to note, normally if the thermostat is the one defective, It should cause an overheat, also in highway speeds. So unless it was overheating while in motion, and you just noticed it when you stopped, then hopefully it's just a fault somewhere with your radiator fan.