Coming on in relief of Kuroda, Tanaka was dominant, striking out 10 while holding the Marlins to three hits over six innings. He threw 82 pitches, 60 for strikes.
Scheduled to start the Yanks' fourth game of the year on April 4 in Toronto, Tanaka wrapped up his first spring with the Yankees with a 2.14 ERA, striking out 26 and walking three in 21 innings.
Kuroda pitched three innings of three-hit ball, preparing to take the mound in New York's second game of the season on Wednesday in Houston. Kuroda walked none and struck out four, finishing the spring with a 4.76 ERA.
"I think all my pitches were good," Kuroda said through an interpreter. "My breaking balls were moving, and my two-seamer was really sharp."
Starter Kevin Slowey pitched three perfect innings for Miami, striking out two in his sixth appearance and third start of the spring.
Carlos Marmol, Dan Jennings, A.J. Ramos and Mike Dunn followed Slowey and combined to hold the Yankees hitless through seven innings, before Steve Cishek allowed three hits and two runs in the eighth. Kelly Johnson doubled, and Brian Roberts' single plated Eduardo Nunez, who pinch-ran for Johnson. Yangervis Solarte then tacked on an RBI single.
The Yankees got on the board in the fourth against Marmol, as Brett Gardner flashed his speed, reaching on an error and stealing twice before coming home on a Brian McCann groundout.
Up next: Tom Koehler, who earned a place in the Marlins' rotation as their No. 5 starter this spring, will tune up for the regular season on Saturday in the exhibition finale against the Yankees in Tampa, Fla., at 1:05 p.m. ET (watch free on MLB.TV). Even though they played Friday night, most of the regulars will get at least three at-bats. "We didn't bring two teams of players," Mike Redmond said.
Bryan Hoch is a reporter for MLB.com. Follow him on Twitter @bryanhoch and read his MLBlog, Bombers Beat. This story was not subject to the approval of Major League Baseball or its clubs.