With the Brewers clinging to a one-run lead in the sixth, Arcia pushed a bunt down the first-base line past Pittsburgh first baseman Josh Bell for a two-run double in a 7-4 victory over the Pirates on Friday night.
"I just knew that run was important and we needed to find a way to get it in," Arcia said through translator Carlos Brizuela. "I was just trying to hit it on the ground that way. I wasn't really trying to get it over the bag, but I'm glad I did."
Arcia added two other hits and helped the Brewers stay 1 1/2 games behind first-place Chicago in the NL Central.
Yelich belted a two-run homer to center off Pirates starter Chris Archer in the first to give the Brewers an early lead. Shaw followed two batters later with a solo shot to stake Milwaukee to a 3-0 advantage.
The Pirates threatened in the second. With a runner on and one out, Cain leaped above the wall in center, robbing Jordy Mercer of a home run.
"He's doing things all over the field. He's making his presence felt," Milwaukee manager Craig Counsell said. "It's something to behold."
"He's just impressive to watch. Defensively, he's made so many of those plays this year, it's hard to keep track," Shaw said.
Pablo Reyes' first career homer, a solo shot in the fifth, tied the score.
"He's got no fear in his swing. He likes to hit, he likes to swing the bat," Pirates manager Clint Hurdle said. "He's a young kid, getting an opportunity."
The Brewers regained the lead in the bottom half of the inning on a sacrifice fly by Jesus Aguilar.
Milwaukee extended the lead to 6-3 on Arcia's bunt against Pirates reliever Steven Brault. Arcia then stole third, but was cut down at the plate trying to score on Cain's grounder to short.
Moustakas' solo home run into the second deck in right in the seventh gave the Brewers a four-run advantage.
Pittsburgh pulled within 7-4 in the eighth on Josh Harrison's RBI double.
Gonzalez, making his second start for the Brewers since being acquired from the Washington Nationals, gave up three hits and three runs in 4 2/3 innings.
Archer surrendered six hits and four runs in five innings. He slipped to 1/3 in the National League and 4-8 this season after being traded from the Rays in July.
With Polanco out of the lineup, four players will compete for time in right field, Hurdle said. Adam Frazier, Jordan Luplow, Pablo Reyes and rookie Kevin Kramer, who was called up Sept. 4, likely will share right-field duties for the remainder of the season.
"It's going to be a daily decision on who we want to play second base and do we want to move Kramer to third base," Hurdle said. "We did that the other day."
Luplow got the start in right on Friday night.
The Brewers and the Wisconsin Timber Rattlers, their Class A affiliate, agreed on a contract extension that will run through the 2022 season.
"One of the best minor league relationships I've ever been a part of. It's a first-class organization," Brewers general manager David Stearns said.
Yelich and Shaw belted their 29th homers of the season in the first inning. Yelich has reached base in 29 consecutive games, the longest current streak in the National League.
Pirates: OF Gregory Polanco is expected to be out seven to nine months after undergoing surgery on Wednesday to repair the labrum and stabilize his left shoulder. Polanco dislocated his shoulder on awkward slide into second base last Friday against Miami. "Now is the healing, the rehab, and the strengthening and then the getting ready to play, whenever that is," manager Clint Hurdle said. . RHP Chad Kuhl, on the disabled list since June with forearm and elbow tightness, is scheduled to re-examined after being unable to throw his scheduled side session earlier this week. ... A fifth-inning liner off the bat of Orlando Arcia struck Archer in the right buttock. The pitcher had trouble standing at first, but remained in the game. ... Starling Marte was struck by a pitch on the left elbow in the seventh. He stayed in the game after being checked by a trainer.
Pirates: Ivan Nova (8-9, 4.17 ERA) is 2-2 with a 3.03 ERA in six career starts against Milwaukee.
Brewers: Zach Davies (2-5, 4.75) is 2/3 with a 6.49 ERA in seven career starts versus Pittsburgh.
More AP baseball: https://apnews.com/tag/MLBbaseball
Red Sox manager Alex Cora may reconsider decision to visit White House
Red Sox manager Alex Cora, a Puerto Rico native who has been outspoken about its need for hurricane relief, indicated on Thursday that he may skip the World Series celebration at the White House over President Trump's policies toward the island.
Angels reach one-year deal with Cody Allen to be closer next season
The Los Angeles Angels have reached an agreement with relief pitcher Cody Allen on a one-year deal to be their closer next season, league sources told ESPN.
Forget Babe Ruth, Yankees get the guy who could strike him out
Adding Adam Ottavino -- who boasted he'd whiff the Bambino "every time" -- gives the Bombers the best bullpen in the universe.
Could these 'mystery teams' be in on Manny Machado, Bryce Harper?
Are the Yankees set to swoop in on Manny after all? Who might be biding their time for Bryce? We look at some of the potential surprise suitors insiders are talking about.
'I came up on one-year deals': How Joe Maddon is approaching 2019
As the skipper enters his potential final year in Chicago, Maddon is leaving no stone unturned as he tries to get the Cubs back on track after a disappointing finish and a quiet offseason.
Will Bryce Harper and Manny Machado sign before Super Bowl Sunday and other burning questions
With the offseason providing few answers for baseball's superstar free agents, we shed some light on where things stand and where they're headed.