This is tough one. When faced with ‘cannot figure it out’, I take a breath and go back to basics.
Cleary it used to work fine. What changed? What service, parts, etc. were done, even if it was perhaps days before the issue.
How do you know its overheating? Don’t take that the wrong way, but...