Check brake light switch for continuity between terminals at each switch position.
If check result is not as specified, replace switch.