With a 3.5 hour layover and coming from BOS (which is likely to have some delays in the flight), I'd stay in the airport. Go walk Terminal B - that takes a little bit of times these days with the extension completed or even walk the absymal Terminal C/D for the heck of it. That is not a lot of time at IAD, IMO.