Okay, from the two descriptions I would say there is a problem in the switch or the body control module. Those are the only two components shared between the interior lights and the headlights. Plus because of the failure modes I would suspect the body control module more than the switch and that it comes right back on when you turn it on and off.
If it was in the switch and heat related it would come back on as soon as it cooled and turning it off and on wouldn't change that.
SPONSORED LINKS
Friday, January 31st, 2020 AT 7:46 PM