Possibly The Last Man on Earth (1964) (aka I Am Legend), starring Vincent Price. He's a plague survivor with hallucinations/flashbacks including a slave-auction scene—but it's brief, metaphorical, not the main plot.
If different, share protagonist name, specific plot points, or release era.