American tennis player Ben Shelton secured his first victory at the ATP Finals, winning a three-set thriller to advance in the season-ending tournament.