The rails are aluminum covered plastic. The wire distance in between the switch and box is a little over 20.
Switch box has two screw holes so you can put it on the side of your layout.