The grants will help recipients remove highway-rail conflicts and eliminate at-grade crossings.