SARASOTA, Fla. — Johan Santana is set for another shoulder surgery that he hopes will save his career.

The former New York Mets ace will have surgery Tuesday to repair the re-torn anterior capsule in his pitching shoulder, the team announced Saturday. The operation will be performed by Mets medical director Dr. David Altchek.

Santana is likely to miss the entire season for the second time in three years, which means he may have thrown his last pitch for the Mets. The two-time Cy Young Award winner is in the final year of a $137.5 million contract.

“It’s very difficult. If anybody can do it, it would be Johan,” Mets pitching coach Dan Warthen said. “We wish him luck, and we feel sick about what’s happened.”

Santana had surgery on Sept. 14, 2010, and did not make it back to the major leagues until last April 5. The 34-year-old left-hander didn’t pitch in any exhibition games this spring and threw his last bullpen session in early March without the team’s permission.

Santana’s comeback reached its apex last June 1 when he pitched the first no-hitter in Mets history, throwing a career-high 134 pitches that night in his second consecutive shutout. But he was 3-7 with an 8.27 ERA after that, including 0-5 with a 15.63 ERA after throwing eight scoreless innings against the Los Angeles Dodgers on June 30.

Diamondbacks

Goldschmidt agrees to four-year contract: In Phoenix, the Arizona Diamondbacks have completed a five-year, $32.5 million contract agreement with first baseman Paul Goldschmidt. The announcement Saturday came a day after multiple reports said the two sides were close to a deal.

Goldschmidt said he loves it in Arizona and doesn’t want to play anywhere else.

The contract runs through the 2018 season with a $14.5 million club option for 2019.

The 25-year-old first baseman hit .286 with 43 doubles, 20 home runs and 82 RBIs last year, his first full season in the majors.