The Mets won their sixth in a row and remained one game ahead of the defending World Series champion Atlanta Braves, who have won five straight.
The Mets staged this rally one night after clinching their first postseason berth since 2016 with a 7-2 triumph at Milwaukee.
“Every game is extremely important,” Lindor said. “We're in a fight. We said yesterday that's not the end goal. We wanted to clinch, obviously, but that's not the end goal."
Pete Alonso hit his second three-run homer in as many nights as the Mets won with just four hits.
“This is fun,” Alonso said. “This is what you’re all excited for. This is what you work for in the offseason, this type of race. You have two great teams. It’s just really fun because you get to find out what you’re made of.”
The Brewers dropped their third straight and are 2 1/2 games behind the Philadelphia Phillies in the race for the NL's last wild-card spot. The Phillies own the tiebreaker advantage because they won the season series with the Brewers.
Milwaukee's loss clinched a playoff spot for Atlanta.
“We’re close enough where we play really well and we can take care of our own business,” Brewers manager Craig Counsell said. "We still sit in that spot tonight. We’re going to sit in that spot for a while. But it’s obviously going to take us winning games.”
Willy Adames went 4 for 5 with two RBI and a pair of doubles for the Brewers.
Milwaukee had retired 14 straight batters and led 4-0 with one out in the sixth when the Mets began their charge.
Brad Boxberger entered at that point and hit Mark Canha with a pitch before allowing a single to Lindor. Alonso then hit a 425-foot drive that easily cleared the center-field wall and extended his NL-leading RBI total to 121.
Boxberger regrouped to get out of the sixth and then retired the leadoff man in the seventh before giving way to Taylor Rogers, who walked the bases loaded before striking out Canha.
That brought up Lindor, who sent the first pitch he saw over the left-field wall to put the Mets ahead 7-4. Lindor’s grand slam traveled an estimated 413 feet.
Rogers (4-8) has allowed 14 runs in 19 innings for a 6.63 ERA since joining the Brewers as part of the package they received in the trade that sent four-time All-Star closer Josh Hader to the San Diego Padres. Rogers has given up six homers since joining the Brewers after allowing just one in 41 1/3 innings with the Padres.
“There’s just no excuse for it,” Rogers said. "You can say new place, new catchers, new all this stuff, but you’ve just got to keep the ball in the yard, and I haven’t been doing that.”
Díaz closed in the ninth for his 31st save. Joely Rodríguez (2-4) earned the win with one inning of shutout relief.
Mets: RHP Drew Smith (right lat strain) was reinstated from the injured list and RHP Tommy Hunter (lower back tightness) went on the injured list retroactive to Saturday.
Brewers: Aaron Ashby came off the injured list and pitched two scoreless innings as the Brewers' opener in his first appearance since Aug. 19. Ashby had been dealing with shoulder inflammation. ... Counsell said LHP Eric Lauer (elbow) is trending toward a Friday return when the Brewers are in Cincinnati.
Fantasy baseball forecaster: Team hitting ratings
Stay ahead of the game and optimize your fantasy baseball hitters with our forecaster, which provides a rolling 10-day outlook of every team's hitting matchups as well as the potential for stolen bases.
Fantasy baseball forecaster: Pitcher projections for the next 10 days
Keep up to date on who is pitching -- and how well they're expected to do -- with our forecaster, which provides a rolling 10-day outlook of every team's probable starting pitchers with game score projections.
Tony La Russa's legacy is more than his disappointing White Sox tenure
It was a less-than-perfect ending to a Hall of Fame career -- but in time, Tony La Russa's years in baseball will be remembered for all their progressiveness, intensity, and, yes, success.
Padres clinch NL wild-card spot during 2-1 loss to White Sox
— The San Diego Padres haven't partied this hard at Petco Park in 17 years.
Astros start season at home against the Phillies
Philadelphia Phillies vs. Houston Astros
Athletics begin season at home against the Angels
Los Angeles Angels vs. Oakland Athletics