; (II) and who is enrolled in a community college that charges different tuition rates on the basis on residency, either— (aa) qualifies for in-State resident tuition at such community college; or (bb) would qualify for such in-State resident tuition at such community college, but for the student’s immigration status; (III) is not enrolled in a dual or concurrent enrollment program or an early college high school; and (IV) who is eligible to complete the Free Application for Federal Student Aid under section 483(a), has filed such application for the applicable award year for which the student is enrolled; or (ii) in the case of a student enrolled in an eligible 4-year institution of higher education— (I) is enrolled, or plans to enroll, as an undergraduate student in an eligible program (as defined in section 481(b)) at a public 4-year institution of higher education or in a 4-year Tribal College or University; (II) is a working class or middle class student, as described in section 787(a)(3); (III) who is enrolled in a public 4-year institution of higher education that charges different tuition rates based on residency, either— (aa) qualifies for in-State resident tuition at such institution; or (bb) would qualify for such in-State resident tuition at such institution, but for the student’s immigration status; (IV) is not enrolled in a dual or concurrent enrollment program or an early college high school