Rogers (5-2) has been one of the top rookies in the National League. He allowed one run and four hits with seven strikeouts and two walks.
After going 9 for 17 with three homers and seven RBI in the series, Aguilar is batting .362 on the road this season. He has reached base safely in all 18 games away from home and has a hit in 17 of those 18 games.
Diamondbacks starter Merrill Kelly (2-4) went 6 1/3 innings, allowing three runs and seven hits while striking out four and walking two.
The Marlins opened the scoring in the third when Magneuris Sierra doubled and scored on Rojas' single.
Miami regained the lead in the sixth on an RBI single by Brian Anderson.
The Marlins tacked on three in the seventh. Kelly was pulled after a one-out walk to pinch-hitter Garrett Cooper. Chris Devenski gave up a double to Rojas and then three straight RBI singles, to Aguilar, Dickerson and Duvall.
Diamondbacks: 1B Asdrúbal Cabrera had to be helped off the field with a strained right hamstring in the sixth inning after he stole second base. ... Taylor Widener (groin) tossed 3 1/3 innings in a simulated game. Next, the 26-year-old right-hander will throw a bullpen Saturday, then have at least one rehab outing after that. He was placed on the injured list April 28. ... Ketel Marte (right hamstring) took some simulated at-bats and felt good. He is going to play four innings in center field in a simulated game Friday at Salt River Fields. He has been out since April 8.
Washington Nationals' Max Scherzer miffed as umpires inspect him 3 times
Nationals ace Max Scherzer was inspected three times for the use of foreign substances on the baseball in his start Tuesday, but it was Phillies manager Joe Girardi's request that he be checked that set him off.
Snell pitches 5 scoreless innings, Padres beat Dodgers 3-2
— With the sellout crowd of 42,667 on its feet in the ninth inning, right fielder Wil Myers chased down Justin Turner's slicing liner to end the San Diego Padres' 3-2 win against the rival Los Angeles Dodgers.
Vogelbach somehow hobbles home, Brewers top Diamondbacks 5-0
— Burly slugger Daniel Vogelbach hobbled home on one leg when Arizona's defense fell asleep, and the Diamondbacks dropped back into a rut Tuesday night with a 5-0 loss to the Milwaukee Brewers.
Ha-Seong Kim crushes pinch-hit homer off of Clayton Kershaw
Ha-Seong Kim gets decked out in the Padres' swag chain after launching a solo homer into the left-field bleachers.
Padres strike first behind Cronenworth's two-run jack
Jake Cronenworth smacks a two-run homer to right-center field to get the Padres on the board early.
Flores and Dubon go yard early in Giants' win
Wilmer Flores homers in the first and Mauricio Dubon cranks one in the second, leading the Giants to a 5-0 lead.