The gunman killed at least five people and wounded several others. ISIS described the assailant as a “soldier of the caliphate,” and members shared a video said to be of him.