Man accused of molesting 40 boys lands job at state institution