The Federal Railway Administration earmarked funding to close more than 30 grade crossings and upgrade over 1,000 others with new infrastructure and technology.