Dava Webster is facing one count of child endangerment.
The judge determined there is a doubt to her mental competence and referred the case for evaluation.
Investigators say Webster left her 6-year-old, who does not communicate, alone at the train station earlier this month.
Webster was arrested when she returned to the station the next day. She faces up to six years in prison.
The boy is now with relatives.