When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
Is your wastegate still hooked up (red line)? If it is, unplug it. Disconnect batteries for 10 minutes and see if it comes back. (plug the red line onto one of the threaded rods from the nearby boost tube boot)
As far as the crank sensor goes, that is just a part that fails due to nothing more than it's simplicity.
Is the wastegate code an overboost code? Before you disconnect the batteries, can you get the code number and post it?
Also, what about the crank sensor code number? Sounds like you've got a CPS failing. That will sometimes set a code, and would also explain the truck stalling.