The Brooklyn District Attorney is investigating the two detectives, sources said.