to me, that makes it less likely the tail light itself is bad.
So if you mess with the headlight control switch it can come back? I would try popping that module out, unplugging the module and then replugging it back in. I have had rare issues where forcing a reboot of that switch/module fixed my headlight issue.