; (ii) a homeless child or youth (defined as 1 of the individuals described in section 725(2) of the McKinney-Vento Homeless Assistance Act ( 42 U.S.C. 11434a(2) )); (iii) served by the runaway and homeless youth grant program established under the Runaway and Homeless Youth Act ( 42 U.S.C. 5701 et seq. ); (iv) a migratory child (as defined in section 1309 of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 6399 )); (v) an eligible child (as defined in paragraph (15)(A)); or (vi) (I) a foster child whose care and placement is the responsibility of an agency that administers a State plan under part B or E of title IV of the Social Security Act ( 42 U.S.C. 621 et seq. ); or (II) a foster child who a court has placed with a caretaker household. (B) Agreements to carry out certification To certify a child under subparagraph (A)(v), a State agency shall enter into an agreement with 1 or more State agencies conducting eligibility determinations for the Medicaid program. (C) Procedures Subject to paragraph (6), an agreement under subparagraph (B) shall establish procedures under which an eligible child may be certified for free lunches under this Act and free breakfasts under section 4 of the Child Nutrition Act of 1966 ( 42 U.S.C. 1773 ), without further application (as defined in paragraph (4)(G)). ; (2) in paragraph (6)(A), by striking or (5) both places it appears and inserting (5), or (15) ; and (3) by amending paragraph (15)(A)(i) to read as follows: (i) Eligible child The term eligible child means a child— (I) (aa) who is eligible for and receiving medical assistance under the Medicaid program