SAN DIEGO -- It took just one swing by Manny Machado in the first inning to give the San Diego Padres all the runs they'd need to avoid being swept by the defending World Series champion Boston Red Sox.
Machado hit a two-run home run — his first in more than three weeks — and left-hander Joey Lucchesi pitched five decent innings in the Padres' 3-1 win Sunday.
Machado, the $300 million slugger, drove a pitch from left-hander Brian Johnson for his 27th homer to give the Padres a 3-0 lead. It was the third straight hit off Johnson to open the inning. Manuel Margot hit a leadoff double, stole third and scored on Francisco Mejia's single.
Machado hadn't connected since July 30 in a home loss to his original team, the Baltimore Orioles.
"You've got to come out with some wins," Machado said. "Today we started off the game giving our pitchers a nice little lead early on and our pitching staff, Joey, everyone that came out of the 'pen, they did their job today. They held that lead. It was big to come out with a win."
It was the Padres' 190th homer of the season, setting the franchise's season record.
Lucchesi (9-7) allowed one run and three hits in five innings, struck out three and walked two.
"I came out with the mindset of just hitting the glove, attacking," Lucchesi said. "It feels great, man. Feels great for the team. Super happy."
He said being handed the early lead was "a confidence booster, for sure. I was already motivated, just attack, attack. But it makes me feel really good when your team puts up three automatically."
His only big mistake was allowing J.D. Martinez's 411-foot home run into the top balcony of the Western Metal Supply Co. Building in the left-field corner for Boston's first hit of the game with two outs in the fourth. It was his 31st.
In the previous inning, Martinez tracked down rookie Ty France's double into the left field corner and threw to shortstop Xander Bogaerts, who nailed Eric Hosmer trying to score from first to end the frame.
Rookie Andres Muñoz struck out Martinez with runners on the corners to end the eighth.
Kirby Yates bounced back after taking the loss Saturday night, pitching a perfect ninth for his major league-leading 37th save in 40 chances.
Johnson (1-3) went three innings, allowing three runs and four hits while walking three and striking out one.
"They only scored three runs," Red Sox manager Alex Cora said. "We didn't do much offensively today. We didn't generate too much pressure on them, and that was the game."
Boston's Jackie Bradley Jr. made a spectacular leaping catch of Luis Urias' fly ball at the top of the wall in center field opening the fourth, grabbing the wall briefly with his right hand to steady himself.
"Just get back there and time up my leap," Bradley said. "I didn't have to necessarily get on the wall, but it's one of those ones where the wind is blowing out a little bit, so I'd rather get up there and ask questions later."
Margot tripped after rounding second on what looked to be a sure triple leading off the fifth, had his right cleat come off and was tagged out. He sprained his ankle but remained in the game.
The orange adidas cleats were made for Players' Weekend. He tried to get up and go back to second but slipped on his sock and felt his ankle hurting, so he stayed down.
"The shoes are loose and I kind of knew that going into the game," Margot said through a translator. "I put on a couple extra pairs of socks but I knew going in that they were a little looser than normal, so I thought if I was going to run really hard or try to beat something out, that it could come off, and that's what happened."
Said manager Andy Green: "We've got a beef with adidas on the spikes they sent for Players' Weekend. Some players chose not to wear them because they thought the heel was too low. One chose to wear them and he ran right out of them."
Red Sox: RHP Rick Porcello (11-10, 5.49) is scheduled to start Tuesday night in the opener of a two-game series at Colorado.
Padres: LHP Eric Lauer (6-8, 4.47) is scheduled to start Monday night in the opener of a three-game series against the Los Angeles Dodgers, the runaway NL West leaders. The Dodgers are expected to counter with rookie RHP Dustin May (1-2, 4.26).
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP—Sports