While driving my truck it loses acceleration and does not want to pick up speed. on 2008 Ford F-250 Super Duty

Even when you press the accelerator but when you turn the truck off and back on right away it picks up speed.

2 answers 1 comment
SCAN FOR CODES AND POST IT COULD BE MENY THINGS
I have taken it in to be checked and the computer does not show anything wrong. No codes come up that's what has me upset.
agree, we need to know if there are codes to give a good diag on this.