Todd Frazier is going to bat for his New Jersey hometown — and the special-needs community.

Before the Amazins played Pittsburgh Saturday at Citi Field, the Mets third baseman presented a $50,000 personal check for the Toms River Field of Dreams, a $2.2 million sports complex for people with special needs.

“This is something near and dear to my heart,” Frazier tells The Post. “I have always loved hanging out with special-needs kids. And where we’re from, we support each other.”

Toms River Field of Dreams is a first-of-its-kind complex. Unlike similar facilities, the sprawling space isn’t geared just to kids with special needs, but to people of all ages and abilities. The 3.1-acre facility will offer basketball, baseball, bocce, minigolf, football and soccer, along with a playground, a fitness station and an area for physical rehab. The leagues and facilities will be free for special-needs families. A ribbon cutting is expected in late October or early November — and Frazier, whose name will grace the baseball field, plans to be there.

“I can’t wait to see how it turns out. It’s going to be something very special,” says Frazier, who grew up in Toms River and lives there today, with his wife, Jackie, and their children. (With Wednesday’s MLB trade deadline looming, Frazier could be on his way out of Queens.)

Field of Dreams offers hope to a demographic long marginalized because of physical or emotional limitations, but it was born out of tragedy. On July 12, 2012, Toms River dad Christian Kane was driving with his then 19-month-old son, Gavin, when they were hit by a beer truck. Christian was not seriously injured but Gavin suffered a traumatic brain injury. While his cognitive skills are fine, he lost the ability to walk and talk. He communicates through a tablet and undergoes intensive therapy.

“We put all of our money into building a home for Gavin, so he could have it for the rest of his life,” says Christian, a math teacher at Toms River High School North and former basketball coach. “We built a playground so his friends, who are mostly typical, can come and play.”

‘We put all of our money into building a home for Gavin, so he could have it for the rest of his life.’ - Christian Frazier

Even so, Christian and his wife, Mary, wanted their son, now 8, to be able to interact in the world beyond their backyard. But while there are “inclusive” public playgrounds, Christian says, the offerings are usually slim and located off to the side. Two years ago, Mary took Gavin to one and struggled to get him into a swing. No one came to her aid. From then on, the Kanes were determined to change that — not just for Gavin, but for all families in the same position.

As they began discussing the project in the spring of 2017, the parents of six realized that there was a larger community that needed to be served.

“We understand that Gavin is going to be 60 one day,” Christian says. “To build something that was specific to children, we didn’t think that was great, either. You need a place to go to feel typical, interact with other people and allow caretakers to network. We needed a complex that people can grow with and into.”

Frazier, who’s known the Kane family for years through Frazier’s brother and the larger scholastic sports community, was asked to help raise funds by appearing in a commercial. Instead, the 33-year-old known as the ToddFather decided he wanted to do more.

“I have three kids myself,” says Frazier, who, with his wife, contributed $50,000 to the project. “If something like this happened to me, I don’t think I’d have the courage to even think about starting something like this. Christian and Mary are unbelievable people.”

The Kane family still needs $200,000 to reach their goal. Naming rights to the football field are still up for grabs.

“Having Todd jump on board is huge,” says Christian, who hopes the Toms River Field of Dreams will provide a blueprint for other facilities across the country. “We are hoping that once this is done, people will come to us and say, ‘How do we build this in our community?’ ”

Before Saturday’s game — the Mets won, by the way — Frazier and Gavin joked around outside the team’s locker room. It was a poignant sight for the Kane family.

“For a few minutes, you forgot that Todd was a major league baseball player and you forgot that Gavin had special needs. It was just two people hanging out and laughing,” Christian says. “And that’s the very idea of the complex.”