The mayor also announced the opening of a new public preschool in Brooklyn that had been completed but left empty for years.