SAN DIEGO - Will Venable opened the game with a home run and left-handed starter Robbie Erlin pitched 6 1/3 scoreless innings Sunday afternoon as the San Diego Padres defeated the Miami Marlins 5-4 to complete a 10-game homestand with a third straight win over the Marlins.

The Marlins were trailing 5-0 after seven innings before scoring four runs in the eighth and stranding the tying run at third.

The Padres broke open a 1-0 game with four runs in the bottom of the fourth against Marlins right-handed starter Henderson Alvarez (2-2).

Shortstop Alexi Amarista made it 2-0 with a run-scoring single. Right fielder Chris Denorfia doubled the margin with a bases-loaded, two-out, two-run single. Left fielder Seth Smith drove home the final run of the inning with the fourth single of the inning.

Erlin (2-4) allowed five hits while equaling his career high with seven strikeouts. Huston Street retired second baseman Jeff Baker on a grounder to short with the bases loaded in the ninth to picked up his 11th save.

Padres pitchers set a franchise record for strikeouts in a three- or four-game series with 48 while winning three of the four games against the Marlins, who are now a Major League-worst 3-13 on the road this season.

The Padres scored 24 runs on 35 hits over the past three games after scoring only 92 runs while hitting .215 through the first 36 games of the season.

Venable opened Sunday's game by extending his club record for game-opening homers to 10 with a 400-foot drive into the right-field seats on Alvarez's second pitch.

Third baseman Chase Headley opened the fourth with a single and moved to second when first baseman Yonder Alonso drew a walk to reach base for the eighth straight time (he singled in his next at-bat to stretch the streak to nine). Amarista then singled home Headley.

After Erlin struck out, Alvarez walked Venable to load the bases. Denorifa followed with his two-run single to raise his career batting average with the bases-loaded to .406 with 32 RBIs in as many at-bats.

Smith's ensuing RBI single extended his hitting streak to eight games (17-for-31 with seven doubles, three triples and a home run during the streak). He drove in seven runs in the past three games against the Marlins.

Miami's four-run eighth opened with center fielder Christian Yelich's lead-off, 430-foot homer to right-center off right-handed reliever Dale Thayer.

After Reed Johnson singled off Thayer, right-hander Joaquin Benoit came on in relief and gave up a single to right fielder Giancarlo Stanton before getting third baseman Casey McGehee to line out to right. Baker followed with a sinking line drive to right that eluded the diving attempt of Denorfia and rolled to the warning track for a two-run triple. Baker scored on shortstop Adeiny Hechavarria's ground out to second.

NOTES: The Marlins promoted RHP Henry Rodriguez from Triple-A New Orleans to replace RHP Carlos Marmol, who was designated for assignment after Saturday night's game . . . OF-1B Xavier Nady has opted to become a free agent rather than report to the Padres' Triple-A team in El Paso. He cleared waivers Thursday after being designated for assignment . . . RHP Casey Kelly will continue his rehab from 2013 Tommy John surgery with Double-A San Antonio Wednesday after making two starts with Single-A Lake Elsinore . . . Padres SS Everth Cabrera missed Sunday's game after his wife, Connie, gave birth to the couple's second child (Erika) late Saturday night.