BOSTON -

Daniel Nava singled in the go-ahead run to cap a three-run eighth inning and the surging Boston Red Sox completed a sweep of the stumbling Miami Marlins, 6-5 on Thursday night.

Boston tied the score on a two-run homer by Will Middlebrooks, who drove in four runs. Ryan Kalish then singled, raced to third on a groundout to first and scored on Nava's single up the middle.

Alfredo Aceves pitched a perfect ninth for his 18th save in 21 opportunities. Scott Atchison (2-0) allowed one hit over the seventh and eighth.

The Red Sox won their fifth straight game and the seventh in their last eight as they matched their season-best mark of three games over .500.

The Marlins took a lead in all three games but lost them all as they dropped their fourth straight overall and 13th in their last 15.