The mother of a young boy found dead on the side of a desolate road in Maine was arrested late Wednesday after reportedly confessing to killing her son.

Julianne McCrery of Irving, Texas was apprehended in Massachusetts earlier in the day, and held by police for questioning.

Sources told Fox 25 that 42-year-old allegedly told an officer that she had killed her son and was considering killing herself, MyFoxBoston.com reported.

McCrery is charged with being a fugitive from justice stemming from a second-degree murder charge in New Hampshire, where authorities say her son, Camden Pierce McCrery, was killed last week, New Hampshire Attorney General Michael A. Delaney said. Camden's body was found in South Berwick, Maine, near the state line with New Hampshire.

Preliminary autopsy findings showed that the cause of Camden's death was asphyxiation and the manner of death was homicide, according to Maine's chief medical examiner, Dr. Margaret Greenwald. The homicide remains under investigation.

McCrery is to be arraigned Thursday in Massachusetts, in Concord District Court. The voicemail was full for a Texas phone listing for McCrery.

Maine state police had released a computer-generated image showing a boy with dirty blond hair and blues eyes as they spent several frustrating days seeking the boy's identity.

Christian von Atzigen, of Irving, Texas, said he told police he recognized the son of Julianne McCrery, a woman he and his wife have been close friends with for 15 years.

"We didn't want to believe it," von Atzigen said.

"Julie's a good person. If you would ever ask me if she would harm a hair on that precious little boy's head, I would say never," he told The Associated Press. "She loves that boy."

A telephone tip led police to the woman at a highway rest stop in Chelmsford, Mass., said Massachusetts State Police spokesman David Procopio.

Several troopers who responded engaged her in conversation, and she agreed to go to state police barracks in Concord for questioning. After several hours of questioning, state police decided to have the woman taken to a hospital for a medical evaluation, Procopio said.

"It was not a critical medical emergency," Procopio told Fox 25.

McCrery was charged in New Hampshire because police believe the boy died in Hampton, where a state police command post was set up outside a motel on Wednesday. New Hampshire officials said the boy died Saturday, the same day his body was discovered by a local resident in Maine.

Investigators fielded more than 200 tips since the boy's body was found. Police also conducted DNA tests on the body, released a detailed photo of the boy's sneakers and notified Interpol.

On Wednesday, the police apprehension of the woman set off a rapid-fire chain of events in which jurisdiction shifted from Maine, where the boy was found, to Massachusetts, where McCrery was questioned, and ultimately to New Hampshire, where the formal charges were filed.

It's extremely unusual for a missing child to go unreported. Similar cases happened only twice over the past two years, said Ernie Allen, president of the National Center for Missing and Exploited Children.

"In the vast, vast majority of these, there's someone, a parent or grandparent, searching for that child," Allen said Wednesday.

In April 2010, the body of a 6-year-old boy was discovered near a lake in north Texas and his grandmother was eventually charged with murder; in May 2009, a 3-year-old boy's body was found buried at a playground in Albuquerque, N.M., and his mother was eventually charged with killing him.

In both cases, family members failed to report the boys missing.

"In cases where children are murdered or disposed of, typically the perpetrator is the one who should be reporting the child missing," Allen said.

In Maine, the case has led to an outpouring of emotion. Several hundred people attended a candlelight vigil in the boy's memory Tuesday night in front of the South Berwick town hall.

Near where the boy was found, people have placed three crosses, dozens of stuffed animals, candles, flowers, a baseball and other children's items. A framed piece of paper says, "God Bless This Little Boy."

Bruce and Laurie Ralph, who live down the street from where the body was found, placed a stuffed animal on the site.

"The whole community has come together and has feelings for this boy, who nobody seems to know who he is," Laurie Ralph said Wednesday as she and her husband visited the site. "You hear of missing children all the time, but when it happens in your hometown -- and on your own street -- it's scarier."

The Associated Press contributed to this report.