Mark Teixeira was 3-for-4 with two RBI, and seven New York pitchers led the Yankees to a 9-5 win over Detroit Wednesday night at Yankee Stadium.

With the win, New York remained in a first place tie in the AL East with Tampa Bay. Detroit dropped to 2-5 against the Yankees this season.

New York used a pair of home runs to open the scoring in the bottom of the first inning. With a runner on first and one out, Teixeira homered over the left field wall, his 27th of the season. He entered the at-bat a career 1-for-15 against Tigers starter Jeremy Bonderman.

Robinson Cano, who was only batting .200 (5-25) in his career against Bonderman, followed Teixeira with a solo home run. It was the fifth time this season the Yankees hit back-to-back home runs.  

Detroit answered with Miguel Cabrera’s home run to lead off the top of the second. He added another solo home run in the top of the fourth to cut the Yankees lead to 3-2.

New York put some distance between themselves and Detroit with three runs in the bottom of the fourth. With a runner at first and one out, Ramiro Pena tripled to right center to score Austin Kearns from first base. Brett Gardner followed with a run-scoring double to left center to score Pena. The final run of the inning scored when Tigers second baseman Ramon Santiago’s wild throw home eluded catcher Alex Avila, allowing Gardner to score from third.

Detroit immediately answered in the top of the fifth. After Avila walked with one out, Don Kelly smacked a two-run home run over the right field wall to trim the Yankees lead to 6-4. However, Curtis Granderson responded with a solo home run in the bottom half of the inning. Granderson did not play against the Tigers earlier this season due to an injury, but he is 5-for-10 against his former team in the first three games of this series.

New York added their final two runs in the bottom of the seventh. With the bases loaded and two outs, Kearns hit a ground rule double to deep left center field to plate two runs. Detroit loaded the bases with no outs in the top of the eighth but only managed one run on Brandon Inge’s sacrifice fly RBI.

Dustin Moseley (3-2) earned the win after allowing four runs on five hits with two strikeouts and two walks in five innings. Joba Chamberlain, Boone Logan, Kerry Wood, Chad Gaudin, David Robertson and Mariano Rivera allowed one run over the final four innings to preserve the win.

Bonderman (6-9) lost his third consecutive start after allowing seven runs (six earned) on six hits with three strikeouts and three walks in five innings. He dropped to 3-9 in 13 regular season starts against the Yankees.    

Detroit and New York will conclude their four-game series on Thursday afternoon. Rick Porcello (5-10, 5.53) will start for the Tigers, while Phil Hughes (14-5, 3.94) will counter for the Yankees. First pitch is set for 1:05 p.m. ET.

Read more MLB news on BleacherReport.com