Funds paid to any State during any fiscal year pursuant to section
1753 of this title shall be disbursed by the State educational agency, in accordance with such agreements approved by the Secretary, as may be entered into by such State agency and the schools in the State, to those schools in the State which the State educational agency, taking into account need and attendance, determines are eligible to participate in the school lunch program.