The alleged shooter, who knew the victims, was arrested at a grocery store about four miles away from the mall, cops said.