Justin Thomas was in danger of missing the cut at The Players Championship for the second consecutive year, but completed an epic turnaround.