are ESC/Traction and Brake light issues related?
This is an electrical issue and, as well, the issue involving the ESC system is probably electrical in nature, too. I would suggest downloading the diagnostic trouble codes that undoubtedly have been stored relative to the ESC malfunction to see...