, That of the funds made available under this heading, $2,729,000,000 shall be set aside for activities eligible under section 133(b)(1)(A) of title 23, United States Code, and for the elimination of hazards and the installation of protective devices at railway-highway crossings, $16,000,000 shall be set aside for activities eligible under the Puerto Rico Highway Program as described in section 165(b)(2)(C) of such title, $5,000,000 shall be set aside for activities eligible under the Territorial Highway Program, as described in section 165(c)(6) of such title, $25,000,000 shall be set aside for the nationally significant Federal lands and tribal projects program under section 1123 of the Fixing America's Surface Transportation (FAST) Act ( Public Law 114–94 ), and $475,000,000 shall be set aside for a bridge replacement and rehabilitation program for qualifying States: Provided further , That for purposes of this heading, (1) the term State means any of the 50 States or the District of Columbia and (2) the term qualifying State means a State for which the percentage of total deck area of bridges classified as in poor condition in such State is at least 7.5 percent: 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, and for the elimination of hazards and the installation of protective devices at railway-highway crossings, 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 and for the elimination of hazards and the installation of protective devices at railways-highway crossings, and (2) a bridge replacement and rehabilitation program shall be administered as if apportioned under chapter 1 of such title and shall remain