There are two springs to balance the spindle if it moves to one side because of an imbalance it will self center when you take your foot off the brake pedal.
If the spindle is sticky due to machining, seals too large / not lubed etc that will cause it to stay to one side.
The switch is not really a switch it is a post the contacts the spindle which then grounds it.