94 1500 dies when warm

camshaft sensor. whatever you do do not move the distributor. it fires the injectors. it does not have any effect on timing. if you have a jumper box, hook it up to battery and see what happens. if it stays ok, have battery checked. also remove the iac and clean the hole where the iac pintle seats.