the only ground that's needed is at the lights, and if the rear lights work for the signals there isn't a ground problem, switches do not need grounds .... check the fit of the wire terminals on the brake light switch, they may be loose and oxidizing enough to be erratic
Bill