was named to the Puerto Rican national baseball team's roster for the 2017 World Baseball Classic. In 2017, he pitched for both Fort Myers and the Chattanooga Lookouts where he compiled a combined 10–6 record and 3.27 ERA in 26 games (24 starts) between both teams. San Francisco Giants Rodríguez signed a minor league contract with the San Francisco Giants organization for the 2018 season. He began the season with the Sacramento River Cats of the Class AAA Pacific Coast League. Rodriguez had a 4–1 win–loss record and a 3.40 ERA before the Giants promoted him to the major leagues on May 28. Rodríguez made his major league debut in relief of Jeff Samardzija on May 29, 2018 against the Colorado Rockies. During the game, he pitched innings and hit an RBI double. Rodríguez has a successful rookie year with the Giants with a 6–4 record and 2.81 earned run average in 31 games. As a starter, he allowed 3 runs or less in 16 of his 19 starts and pitched 5 or more innings in 17 of his 19 starts. Rodríguez struggled during the early portion of the 2019 season and was sent down to the Triple-A Sacramento River Cats. He was recalled and sent back down to Sacramento several times during the season and pitched in relief and made spot starts for the Giants. For the season, with Sacramento and San Jose he was 3–0 with a 3.67 ERA in seven starts in which he pitched 34.1 innings and struck out 37 batters. With the Giants, he was 6–11 with a 5.64 ERA and pitched in 28 games (16 starts) in which he pitched 99 innings. In the 2020 season, Rodríguez only pitched in two games before being designated for assignment on August 26, 2020, to make space for Joey Rickard on the roster. Detroit Tigers On August 31, 2020, the Detroit Tigers claimed Rodríguez off waivers from the San Francisco Giants. On October 27, 2020, Rodríguez was outrighted off of the 40-man roster, without having made an appearance for Detroit. He became a free agent on November 2, 2020. Colorado Rockies On November 9, 2020, Rodriguez signed a minor league contract with the Colorado Rockies organization that included an invitation to spring training. Rodriguez spent the 2021 season with the Triple-A Albuquerque Isotopes, making 22 appearances, going 4–6 with a 6.72 ERA and 87 strikeouts. He became