look over whichever shoulder in the direction you will be spinning. it sounds like you are very uncomfortable skiing switch in general so i would recommend just practicing skiing switch around the mountain before you go into a rail switch
don't stress about lining up perfectly straight to the rail. just try it a bunch and find out what way is most comfortable for you. I come into the rail swich with it lined up with my leading foot, as opposed to directly behind me.