When approaching railroad tracks that cross your lane at an angle, it is usually:

When approaching railroad tracks that cross your lane at an angle, it is best to simply cross the tracks while riding straight within your lane. Turning to cross the tracks at a 90-degree angle could be dangerous because you could end up crossing into another lane of traffic.
DMV Writen Test