Police: Suspect who stabbed random victim at Family Dollar had thought about killing someone for a while