Yep.
One other thing, you don't say what type of transformer you have. Like me, most folks have their accessories wired to auxiliary posts on their transformers. For instance, if you have a ZW, you could simply use one of the sliders to increase or even shut off the power. This way, you don't need any switches.
Jerry