Hacker, 26, went 1-2 with a 6.03 ERA in six starts between Double-A Trenton and Triple-A Scranton/Wilkes-Barre this season but was designated for assignment on May 9. The Pirates sent the Yankees' 23rd-round pick in the 2002 Draft to Indianapolis after the trade.
Hacker had more success in the past, with a career record of 30-15 and a 2.70 ERA in 75 games, and he was a South Atlantic League All-Star in 2005. To make room for him on the 40-man roster, Phil Dumatrait was moved from the 15-day to the 60-day disabled list.
The 25-year-old Sanchez had been pitching in relief for Indianapolis, posting a 4.38 ERA in 10 outings, striking out 15 over 12 1/3 innings. He made his big league debut in 2007, and has appeared in 26 Major League games between 2007 and 2008. He had one save and a 4.60 ERA in 31 1/3 career innings.
Jonathan Mayo is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.