Reminds me of the first gen lynx...

Niky is right. Check CPS first. The coil or the connections inside might have been damaged due to the frequent overheating before. Your power loss symptom when engine is above normal operating temp/right before overheating may already be a sign of intermittent malfunction of the CPS.

Good luck!