parklamp working doesn't mean good ground, it can get a ground via the other light if that has a good ground, but ground has to be good on each light for brake lights to work right - disconnect the wires from right light and see if the left acts the same - check for ground with an ohm meter from the actual socket to the frame
Bill