WARNING: This page is about a different car, the 2006 Suzuki XL-7. However, it is still accessible from the selected car via links, so may be relevant.
Check brake light switch for continuity under each shaft condition as shown.
If check result is not as specified, replace switch.