Two things are most likely: ignition switch or glow plug relay.

Since yours is stalling first, it is most likely the ignition switch or connections for such. Check all of your grounds and connections (see This Article in the members area for more information), then check the switch.

I had a glow plug relay problem once that caused a no start problem similar to yours. The glow plug light would not come on and the truck would not start. Repeat tries would eventually get the light to come on, then the truck would start. However, this did not cause a stalling problem along with it. Therefore, I would first suspect the ignition switch.