5 People, Including Gunman Detained in David Ortiz Shooting, Prosecutor Said