Amends Federal highway law to authorize a State to obligate surface transportation program funds for: (1) the acquisition by the State department or local transportation agency of passenger or freight rail facilities to improve such facilities and provide congestion relief and improved safety on highways located near them; and (2) the relocation of passenger and freight rail lines that provide a public benefit.