To cross railroad tracks that run across your lane at an angle, you should:

When approaching railroad tracks that cross your lane at an angle, it is best to simply cross 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