A New York Lottery ticket purchased with money left over from a casino trip turned out to be a $7 million winner.