Jamie Green has confirmed that he will switch from Mercedes to Audi in the DTM next year.