All IAD gates other than IAB (not relevant here) are airside of the same checkpoint, so you will be able to move between any two gates without clearing a checkpoint. A to B is easy as it is the same physical concourse.
But, if you leave the terminal, you will have to reclear a checkpoint and your onward BP won't include Pre-Check because FI does not participate.