Diesel truck dies, chevy, not mine

Again thanks, he doesn't have a computer so i will check it out for him... He did price the solenoid and it is around $800 so if it might be something a little cheaper I am sure he will be happy.

Would the cam sensor cause the problem he is having with it just dieing and then starting back up?