DIY Scale model switch machines and ground throws.
This page shows you how others have done it.
Arduino Controlled With Adjustment Plate – An excellent instructional video with an excellent switch machine.
http://martinsant.net/?p=2553 – Uses a magnetic clutch to be able to throw automatically or manually.
NScaler Switch Machine Low Profile – This is for an anduino controlled system.