Troopers nab driver after two-county pursuit