Police said the crash happened at the intersection of Hope and Pratt streets at about 9:30 p.m. Witnesses said the truck fled the scene. The truck was seen going the wrong way on North Main Street a short time later, police said.

The victim, identified in court as 44-year-old James Walker,of Mansfield, died at Sturdy Memorial Hospital.

Hung Manh Ho, 57, of Framingham, was arrested a short time later. He was charged with motor vehicle homicide, operating under the influence of alcohol and leaving the scene of an accident causing a death.

Ho was held on $25,000 at his arraignment in Attleboro District Court Monday.