Alex Rodriguez launched New York's scoring with an RBI double in the third inning, and Alfonso Soriano hit two home runs - his fourth multi-homer game since rejoining New York.
The result lifted the Yankees within two games of the Tampa Bay Rays, trailing Baltimore and Cleveland by a half game.
Mike Moustakas' two-run double in the sixth inning spurred Kansas City to a 6-3 victory over the Cleveland Indians - snapping the Royals' six-game skid at Progressive Field - while Rick Porcello's first career complete game helped the Detroit Tigers to a 9-1 triumph over the Chicago White Sox and the Houston Astros hammered the Seattle Mariners 13-2.
Also in AL action, Clay Buchholz allowed just three hits over five shutout innings as the Boston Red Sox saw off the Tampa Bay Rays 2-0, the Los Angeles Angels toppled the Toronto Blue Jays 12-6, and Josh Willingham's go-ahead two-run shot in the eighth set the Minnesota Twins on course for a 4-3 win over the Oakland Athletics.
Jayson Werth, Adam LaRoche and Scott Hairston homered in Washington's 6-3 National League triumph over the New York Mets - the Nationals' fourth straight win and a result which moved them within six games of a wild-card spot.
Julio Teheran gave up three runs over 6 2/3 innings on his return to the mound after 10 days' rest as the Atlanta Braves edged past the Miami Marlins 4-3.
Rookie Shelby Miller threw 6 2/3 shutout innings at Busch Stadium to help St Louis to a 4-2 success against the Milwaukee Brewers and maintain the Cardinals' lead of the NL Central.
Andrew McCutchen drove in three runs for Pittsburgh in a 5-4 interleague win against the Texas Rangers to ensure the Pirates remained one game behind the Cardinals, while pitcher Edwin Jackson had seven solid innings and hit his second career home run as the Chicago Cubs thrashed the Cincinnati Reds 9-1.
Elsewhere in the National League, the San Diego Padres notched their fourth straight win with an 8-2 success against the Philadelphia Phillies, the Los Angeles Dodgers overcame the Arizona Diamondbacks 5-3 in 11 innings, and the Colorado Rockies edged the San Francisco Giants 9-8, rallying from an early 6-0 deficit on the back of a five-run fifth inning.