Police have arrested a former staffer of a Brooklyn group home where three teens escaped earlier this month, allegedly raping, robbing and assaulting a Manhattan woman. 

A criminal complaint and Department of Investigation probe found Denzel Thompson, who worked at the Boys Town shelter for about a year before the incident, failed to check on the teens in their beds every half hour between 1:30 a.m. and 6:30 a.m. on June 1.

The youth care worker allegedly wrote in a log book that he had checked on the teens between 11 p.m. and 6 a.m. 

Police said the teens escaped from the Park Slope facility for troubled teens, later groping a woman in an Internet cafe in Chinatown, dragging her to a nearby building where they raped and robbed her.

The teens, all aged 16, are being tried as adults.

Thompson was arrested on charges of offering a false instrument for filing, a felony punishable by up to four years in prison and falsifying business records, a misdemeanor punishable by up to a year behind bars. 

The shelter closed after the teens escaped, but Boys Town has a $19 million city contract and operates a Queens shelter and two other Brooklyn residents for juvenile delinquents.  ​