Is there poor contact in input signal of brake switch?
Repair the poor contact.
Check the body integrated unit.