TORONTO — Free-agent pitcher Matt Shoemaker has agreed to a one-year, $3.5 million contract with the Toronto Blue Jays, the team announced Friday.

Shoemaker went 2-2 with a 4.94 ERA in seven starts with the Los Angeles Angels last season. The right-hander has been hampered by right forearm injuries over the last two years.

Shoemaker, 32, made his major league debut in 2013 and spent his first six seasons with the Angels. He is 40-32 with a 3.93 ERA in 101 games, including 93 starts.

The 6-foot-2, 225-pound Shoemaker had his best season in 2014, going 16-4 with a 3.04 ERA in 27 games.