An emotional Tiger Woods completed an astonishing comeback to win the season-ending Tour Championship by two shots and record his first win in five years.