You already addressed a few of the possibilities. Others would be a dirty or flaky MAF (there are lots of YouTube videos on how to clean them, be careful), a clogged air filter or intake plenum, leaky fuel injector(s), fuel pressure issues (less likely oil your truck as the pressure management...