yes doing the 'pedal dance' can be frustrating at times because it is hard to hit it every time. But if you have identified the overheating issue and repaired it and 'know for a fact' that it is repaired the code generally should clear on it's own. The self diagnostic the truck runs when you turn on the truck would see the condition not present anymore and would turn off the MIL signal. (at least that's how it works in theory according to the manual)
I have seen in some cases where it would not clear using the pedal dance for some strange reason and the laptop or service tool would have to be used to manually clear it.
And of course, if you do not have those opportunities you can always unhook the battery for a period of time. (don't think it would take 4hrs though but to each their own)
Consider this one possibility though, if you have repaired the identified overheating issue and the code still persists even after doing the battery disconnect trick you might consider checking the temp sensor and circuit for faults.
This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.