There were no balls hit out of the yard, but the Yankees took advantage of seven Carlos Zambrano walks in a 5-2 victory.
Zambrano made his sixth and final start of the Grapefruit League campaign for Miami, throwing four-plus innings and allowing five runs on four hits, striking out three.
Zambrano had a rocky third inning in which he issued a bases-loaded walk to Robinson Cano and an Alex Rodriguez sacrifice fly, scoring Derek Jeter as the throw from right fielder Giancarlo Stanton skipped past catcher John Buck.
Rodriguez drove in three runs, including a two-run double in the decisive three-run fifth inning.
Named the Marlins' No. 4 starter by manager Ozzie Guillen, Zambrano completes the spring with a 6.23 ERA and is set to next pitch on April 8 against the Reds in Cincinnati.
Hiroki Kuroda made his final spring tuneup for the Yankees, preparing to make his regular-season debut with his new club after signing a one-year, $10 million deal in January.
Kuroda permitted a run on three hits, walking one and striking out two to freeze his spring ERA at 2.92. He will start New York's second game of the season on Saturday against the Rays at Tropicana Field.
Marlins shortstop Jose Reyes opened the contest with a double, and he scored on Hanley Ramirez's RBI single.
Miami left fielder Logan Morrison made a terrific running catch of a deep Raul Ibanez drive in the second inning, bouncing off the left-field fence and saving at least one run.
New York No. 3 starter Phil Hughes came on in relief, and held the Marlins scoreless for four innings.