2000 ford f150 5.4 efi

truck idel will start to go up and down about 15 to 20 sec. after I stop. changed out egr valve and sencer and the iac valve but did nit fix the problem.