Discuss as:

Police: Stranger tries to throw kids in front of moving New Jersey train

A mother and grandmother tackled an apparent stranger who tried to throw their two children in front of a moving train as they waited at an NJ Transit station in New Jersey Monday afternoon, police said.

The family was waiting for the train at the Main Street Station in Ramsey, N.J., according to police. As the train approached, the children moved closer to the tracks to get a better look.

Also at NBCNewYork.com: Man on drugs slits kids' throats, prosecutors say

Police say a man named David Howard allegedly then walked up to them, took one by the neck and the other by the shoulder, and led them closer to the train tracks.

Police say Howard allegedly tried to push the children in front of the train as it approached the station. At that point, the kids' mother and grandmother intervened, tackling Howard to the ground and freeing the children, police said.

Stay informed with the latest headlines; sign up for our newsletter

The women continued to restrain Howard while a bystander called 911 just before 2:30 p.m. ET, police said. When police arrived at the train station a short time later, the women were still on top of him.

Police say Howard did not resist arrest, but he did spit in one of the responding officers' faces.

Police are investigating a possible motive for the assault, and say Howard was under the influence of something, though it wasn't clear what.

Watch US News crime videos on NBCNews.com

Howard was charged with attempted murder, kidnapping, aggravated assault and aggravated assault of a police officer. He is being held on $500,000 bail.

Information on an attorney wasn't immediately available.

More content from NBCNews.com:

Follow US News from NBCNews.com on Twitter and Facebook