The grant will provide funding to combat pedestrian and bicycle fatalities and other problems such as speeding and car accidents.