Police have detained a man in connection with the shooting at the Chabad of Poway synagogue that wounded several people, according to the San Diego Sheriff's Department.