She was taken to a local hospital in good condition.
Police identified the grandmother as 39-year-old Tammy Foster.
The 2-year-old is now in the custody of New Jersey's Division of Youth and Family Services.
----
Click here for more New York and Tri-State News