In a fit of idealism, Ed Boland left a 20-year career as a nonprofit executive to teach in a tough New York City public high school.