Authorities said the group of men mistakenly believed the house they targeted belonged to members of a rival gang.