Check/replace the stop/brake light switch. It is located under the dash on driver-side and mechanically operates when brake pedal is depressed. These are a pretty common problem with E34. Should run you under $20 from BMA.
It is a bit of a pain to change but not very difficult.