Tiger Woods is returning to competition for the first time in two years after injuries and a car crash threatened to derail his career.