I can't see how the switch can cause this issue. The problem is that both the 12v and 5v use the 9.5vac winding so I don't see how they can behave differently depending on the switch position. Can you check all of the transformer outputs with the switch in each position?
Edit: Not saying I wouldn't replace the switch just for grins.