Winning Mega Millions ticket worth $521 million sells in New Jersey