Optical switches connect optical circuits, and route optical signals in networks. Nano-electromechanical systems can in principle enable compact and power-effective switches that can be integrated in photonic circuits. We proposed an optical switch based on four coupled waveguides arranged in three-dimensional configuration. The switching operation is controlled by a cantilever displacement of only 55 nm. Simulations show that our proposed device requires a low switching voltage down to 3V and can operate at frequencies in the MHz range. Our results also pave the way towards novel optical components that electromechanically manipulate light in both the horizontal and the vertical direction in photonic circuits.