CHECK POOR CONTACT.
QUESTION

Is there poor contact of input signal of brake switch?

Yes No

Repair the poor contact.

Check body integrated unit.