Brooklyn DA to investigate alleged NYPD gun planting scheme