One person was in custody after what the authorities said was a random attack at a store near Traverse City, Mich.