Welcome to FT!
You're past peak time (mid/late afternoon at IAD) so I think you'll be OK as long as your flight is on time.
You won't have to go to the main arrivals hall, but simply downstairs in the C terminal for customs. You clear security again in the basement and up you come back to the gates.