$800,000,000 shall be set aside for a bridge replacement and rehabilitation program for States: Provided further , That for purposes of this heading, the term State means any of the 50 States or the District of Columbia: Provided further , That the funds made available under this heading for activities eligible under section 133(b)(1)(A) of title 23, United States Code, shall be suballocated in the manner described in section 133(d) of such title, except that the set-aside described in section 133(h) of such title shall not apply to funds made available under this heading: Provided further , That the funds made available under this heading for (1) activities eligible under section 133(b)(1)(A) of such title (2) the elimination of hazards and installation of protective devices at railway-highway crossings, and (3) a bridge replacement and rehabilitation program shall be administered as if apportioned under chapter 1 of such title and shall remain available through September 30, 2022: Provided further , That the funds made available under this heading for activities eligible under section 133(b)(1)(A) of title 23, United States Code, shall be apportioned to the States in the same ratio as the obligation limitation for fiscal year 2019 is distributed among the States in section 120(a)(5) of this Act: Provided further , That, except as provided in the following proviso, the funds made available under this heading for activities eligible under the Puerto Rico Highway Program and activities eligible under the Territorial Highway Program shall be administered as if allocated under sections 165(b) and 165(c), respectively, of such title and shall remain available through September 30, 2022: Provided further , That the funds made available under this heading for activities eligible under the Puerto Rico Highway Program shall not be subject to the requirements of sections 165(b)(2)(A) or 165(b)(2)(B) of such title: Provided further , That the funds made available under this heading for the elimination of hazards and