The teacher , Robert Walker , 53 , who most recently taught machine shop at Transit Tech Career and Technical Education High School in Cypress Hills , Brooklyn , was arrested at 11 Essex Street , the police said , although they did not say what led to the arrest .