; and (2) is employed as a full-time teacher for service in an academic year (including such a teacher employed by an educational service agency)— (A) in a public elementary school or secondary school, which, for the purpose of this paragraph and for that year— (i) has been determined by the Secretary (after consultation with the State educational agency of the State in which the school is located) to be a school in which the number of children meeting a measure of poverty under section 1113(a)(5) of the Elementary and Secondary Education Act of 1965, is not less than 40 percent of the total number of children enrolled in such school; and (ii) is in a school district served by a local educational agency that is eligible in such year for assistance pursuant to part A of title I of the Elementary and Secondary Education Act of 1965