Idles fine until you tap brakes

try disconnecting the booster-- plug the line & see what happens--- try it before the check valve & after the check valve---- if it works fine -- you then have narrowed your problem down, Lawrence