3 - phase transformer is a block from the Simscape Electrical Specialized Power Systems library whereas switch is a block in the Simscape Electrical library and you cannot directly link those two blocks .Instead you can use a Breaker block in simscape Electrical Specialized Power Systems library which serves the same purpose as switch.
You can have a look at the model in the example section to understand how to connect Breaker to a 3-phase transformer