Brake light/safety switch

Is the switch to allow my 550 to start in gear by using the rear brake the same switch that controls the brake light? I am referencing the small switch on the left handlebar. I am having hit or miss in gear starting and hit or miss rear brake light…more miss than hit! I have replaced this switch before, but was wondering if there is more to it than I am thinking!