it's definitely tight
that said, I've done 35-40 connections multiple times from United Express flights to mainline. You just have to move fast. Luckily all UA flights are on one (lengthy as somebody else pointed out) concourse. So you just have to know where you're going and run. If the flight is significantly delayed from IAD, though, there will be problems. As long as it's on time or early you're fine.