Shrey Parikh won the Scripps National Spelling Bee after a record-setting tiebreaker, with Ishaan Gupta of New Jersey finishing second.