NEW YORK — “Sometimes,” Juan Soto said Tuesday night, “you need a lucky rock in the middle of the field to get you going.”

After a stifling weekend, after weeks of slumping, after a month of disappointment, the Mets on Tuesday night enjoyed something they hadn’t in ages: an easy win. Propelled by a good break in a seven-run fourth inning, New York cruised past the Nationals, 8-0, at Citi Field.

The Mets hadn’t won a game by more than three runs since April 4 in San Francisco.

Of course, they’d won only four games in that span before Tuesday. The pregame questions for Carlos Mendoza focused on two topics every manager loves: injuries and his own job status.

There’s the lumbar inflammation sending Kodai Senga to the IL and the back tightness that had Luis Robert Jr. out of the lineup. There’s Jorge Polanco running, but not at full speed, and an MRI on Soto that came back structurally sound.

Mendoza answered question after question about himself, as well — whether his interactions with owner Steve Cohen and president of baseball operations David Stearns were any different than usual, what he and his coaches can do to help end this funk, what it’s been like to watch two other teams fire managers with outstanding track records for starts no worse than his team’s.

“It’s the reality,” he said about that last one. “It sucks.”

Then, for the first time in weeks, the game proved to be a positive outlet. The Nationals came into Citi Field toting an impressive offense but a vulnerable pitching staff. If the Mets couldn’t find their offensive rhythm in this series, it might indeed be hopeless.

Bo Bichette raked Zack Littell’s first pitch over the fence in right-center for a quick 1-0 lead. In the fourth, the Mets scored a touchdown and an extra point — a seven-run frame that was their largest of the season.

It started with a single up the middle from MJ Melendez, whose position in the cleanup hole on Tuesday reveals a lot about how astray the Mets have gone from their preseason offensive plans. Consecutive walks for Mark Vientos and Brett Baty — Baty’s drawn five free passes in his last 27 plate appearances after going without a walk in his first 65 trips to the plate — loaded the bases with one out.

Then, the Mets found their lucky rock.

Third baseman Jorbit Vivas rushed while trying to turn Marcus Semien’s chopper into a double play, instead allowing the ball to scoot past his glove and into left field for a two-base, two-run error.

“We all felt it there: This is the break we’re looking for,” Mendoza said postgame. “And to be able to cash in is the next step.”

Carson Benge made Washington pay a pitch later with a solid single to left to score two more. Benge had his third two-hit game in the last five; he’s 7-for-16 in that stretch to lift his batting average closer to .200. Soto capped the frame with an opposite-field two-run homer, his second of the season and first since returning from the injured list.

The Mets had played 259 innings this season entering Tuesday and had led by more than three runs for 21 of them — and only six in the last 173 frames. This night, they could exhale.

“It loosened it up a little bit,” Mendoza said, even cracking a smile postgame. “It was good to see.”

It’s one game, of course. The Mets thought they’d turned a corner last week before losing a disconcerting home sweep to the Rockies.

“It’s going to take showing up daily and doing what we can to get a little better. It’s not one day, good or bad, that’s going to change much,” said Holmes, who lowered his ERA to 1.75 with six shutout innings.

“It’s nice to see that tonight. Do it again tomorrow.”