CHECK FOR POOR CONTACT.
QUESTION

Is there poor contact in input signal of brake switch?

Yes No

Repair the poor contact.

Check the body integrated unit.