A man who didn’t have exact change for a sandwich decided to pick up a lottery ticket with the difference and ended up $500,000 richer.