Seven New York City public schools earned a Blue Ribbon designation, an honor given to fewer than 350 schools nationwide this year.