Marquez, who currently rides for Gresini, Ducati's satellite team which he joined at the start of 2024 after 11 seasons at Honda, will replace the Italian Enea Bastianini on a two-year contract.
Marquez has not won a race since October 2021 and lies eighth in the standings at the midway point of this season.