One ticket sold in New Jersey had all of the winning numbers in Tuesday evening's drawing for the Mega Millions jackpot.