The Rhode Island North-South Trail, a 78 mile path reaching from the Atlantic Ocean down in Charlestown, to the RI/MA line in Burrillville, passes through Foster.
There’s a number of resources online, and a recent hiking review here of the whole trail: