04 kia sorento stalling every couple miles,I replaced cam and crank sensor same outcome.I am lost cranks runs few miles stalls again.

if it trips cam and crank codes, odds are camshaft belt or chain is worn and needs replacing, that will trip those codes

Replaced those same time no change.

could charcoal pellets be stopping gas flow,and cause stalling.new cam,crank sensor and timing belt.Same problem stall when driving mile maybe two.