"I like those at-bats where I really don't have to do much," Sanchez said. "He probably just couldn't find the rhythm and his arm slot, and we were able to get some runs from it."
The Mets said Maine was sharp warming up before the game.
"I never threw that many balls in a row," the right-hander said. "It's one of those things where you throw eight straight balls, and you're not going to get borderline pitches. Had I been throwing strikes, maybe a few of those calls go my way."
Maine came within a strike of allowing only one run in the inning, but Cameron Maybin hit a two-out, two-single.
"He walked the bases loaded, and I was just trying to capitalize on that," Maybin said. "We really needed to get more than one run out of the inning, and it's nice to be able to help."
Maine (1-3) lasted five innings but gave up six runs, increasing his ERA to 6.13.
Leo Nunez, Florida's fourth reliever, pitched the ninth for his eighth save in 10 chances. He benefited from a mistake by Barajas, who was thrown out by left fielder Chris Coghlan trying to stretch a leadoff single into a double with the score 7-4.
"Dumb baserunning," Barajas said. "I've seen guys make those mistakes and I say, 'What are you thinking?' Well, I'm sure we had 24 guys doing the same thing. It was just bad. There's no excuse for it."
Thanks to plays like that, the Mets (18-19) matched their longest losing streak of the season with their fourth in a row. They fell below .500 for the first time since April 24. They're 4-11 on the road and last in the major leagues in away victories.
Nate Robertson (4-3) lasted only 5 2/3 innings but was better than Maine, allowing three runs, two earned.
Maybin tied a career high with three RBIs to help the up-and-down Marlins (19-18) climb above .500. They had 12 hits, including four doubles.
"This is the start of something," manager Fredi Gonzalez said. "This series we've been swinging it."
Hanley Ramirez had three hits, scored twice and drove in a run. Jorge Cantu also had three hits and an RBI.
"We're still trying to find ourselves," Robertson said, "and winning three games against a division rival is big."
The Marlins will try to complete a four-game sweep Sunday.
New York's sputtering offense showed improvement with 13 hits. David Wright drove in two runs with his eighth homer and a sacrifice fly. Castillo drove in two runs and had an RBI triple for his first extra-base hit from the left side this season. Jose Reyes, returning to the leadoff spot after manager Jerry Manuel tweaked the lineup, contributed a single and a double.
"At least we saw some life in the offense," Manuel said. "That's a good sign."
It wasn't enough, and now the Mets have lost all five road series this year.
The crowd of 26,007 was still settling in when Maine walked the bases loaded in the first. Manuel and Gonzalez said they couldn't remember seeing such a start by a pitcher.
Maine finally threw a strike to Cantu, who then lined out. Dan Uggla ducked out of the way of a 3-2 pitch to force in a run, and Maybin's single made the score 3-0.
Maine needed 40 pitches to get through the inning.
"It was really shocking and surprising that he couldn't find the strike zone," Manuel said.
The first homer by a left-handed hitter for the Marlins -- by Coghlan -- came in their 36th game Friday. The Marlins said that's the longest such drought to start a season since 1963, when Houston's first homer by a lefty was in its 52nd game by 19-year-old Rusty Staub, based on research by the Elias Sports Bureau. ... Mets OF Carlos Beltran, who has been rehabilitating in nearby Port St. Lucie following knee surgery, visited the clubhouse before the game. He has begun a running program and is expected to face live pitching starting next week. ... Florida's Ricky Nolasco, scheduled to start Sunday, is 3-6 in 16 games against the Mets with a 5.82 ERA.
Ohtani's 2-out, 2-run HR in 9th sends Angels over Bosox 6-5
— Shohei Ohtani hit a two-out, two-run homer in the ninth inning and the Los Angeles Angels rallied past the Boston Red Sox 6-5 Sunday, ending a four-game losing streak.
Vlad Jr. homers in 3rd straight game
Vladimir Guerrero Jr. hits an eighth-inning solo dinger to pad the Blue Jays' lead and give himself 11 homers on the season.
Phillies' Maton hits first two career homers
Nick Maton hits solo home runs in the fifth and sixth innings, the first two of his major league career.
Blue Jays start game with back-to-back HRs
Marcus Semien cranks a leadoff homer and Bo Bichette follows it up with a home run of his own to start Toronto's scoring spree.
Orioles rally from deficit, beat Yankees 10-6 to avoid sweep
— Maikel Franco homered and drove in three runs, rookie Bruce Zimmermann came out of the bullpen to hold down the Yankees and Baltimore Orioles avoided a three-game sweep by rallying to beat New York 10-6 Sunday.
Wood improves to 5-0, Yastrzemski HR as Giants beat Pirates
— Alex Wood pitched six innings while keeping his perfect record intact and Mike Yastrzemski hit a game-sealing home run as the San Francisco Giants beat the Pittsburgh Pirates 4-1 on Sunday.