A New Hampshire fugitive who had been on the run for almost a year was captured in neighboring Massachusetts this week after one last frantic attempt to evade police, law enforcement agencies said.