What happens when the lights are off and you apply the brakes? If the right is dim and the left is bright, you need to switch the wires in the right taillight.