Welcome!
Maybe if you gently disassemble the vacuum switch then you can use JB Weld or the like, to glue it back together. Another option is the plumber's putty epoxy stick that you just cut off as much as you need, then knead it together to activate. About 4 minutes of working time, but it hardens up into a nice, strong, workable plastic that can be made into any shape. Will fix bicycle frame or coffee machine, sometimes in the same day!