When crossing angled railroad tracks, it is usually safest to approach the tracks:

In general, it is safest to simply proceed straight in your lane when crossing angled railroad tracks. Turning to approach tracks at a right angle can be dangerous because it may send you traveling into another lane.
DMV Writen Test