A San Diego man has been detained in connection with a shooting at a synagogue in nearby Poway, Calif., that resulted in one death, in what authorities said is being investigated as a possible hate crime.

A woman succumbed to her injuries and died in the hospital, while a girl and two men, one of whom is the synagogue’s rabbi, are currently in stable condition in area hospitals, according to local officials.

The...