MIAMI (AP) -- Giancarlo Stanton homered and the Miami Marlins beat the Washington Nationals 4-3 on Monday night.Christian Yelich, Ichiro Suzuki, and Derek Dietrich also drove in a run for the Marlins and A.J. Ramos pitched the ninth for his 38th save in 41 chances.Danny Espinosa hit a three-run homer and A.J. Cole allowed two runs and four hits in four innings for the Nationals.Brian Ellington (3-2) picked up the win with an inning of relief while Mat Latos (7-3) took the loss. Miami's Wei-Yin Chen made his first start since July 20 due to an elbow strain, and allowed three runs and four hits, ending his night after 4 1/3 innings. Chen threw 44 of 66 pitches for strikes.Washington trailed by a run to begin the ninth when Wilson Ramos led off with a double to left-center field. Michael Taylor pinch-ran for Ramos and was thrown out at third on a groundball to shortstop Miguel Rojas.Pinch-hitters Bryce Harper and Daniel Murphy flied out to end the game leaving a runner stranded at first.The Nationals trailed by a run in the seventh and had two on and no outs. Fernando Rodney was able to get out of the jam without allowing a run to score.The Marlins took an early 2-0 lead on Stanton's 26th home run of the season and an RBI double by Yelich.Espinosa's three-run homer in the fifth put the Nationals on top 3-2.Miami responded with two runs in the sixth to take a 4-3 lead behind an RBI double by pinch-hitter Derek Dietrich and a failed fielder's choice by Ichiro Suzuki that allowed Justin Bour to score as second baseman Wilmer Difo's throw was wide to home plate.