The eighth seed eventually saw off his fellow Spaniard 5-7 6-7 (8-10) 6-3 6-3 7-6 (7-4), sealing victory with a spectacular winner on the run after four hours and 23 minutes.
Haas closed out the victory with a forehand winner, then shared a warm exchange at the net with a gracious Djokovic, who gave the crowd a wave as he left the court.
Vettel became F1's youngest ever winner with victory in the Italian Grand Prix in September, while Lewis Hamilton is now the sport's youngest world champion following his success this year in only his second season.