Where did the cam sensor come from? Don't rule out a part just because it is new.
When it stalls hot, crank it over and see if the tach is moving. You are checking to see if you have a tach reference. If the tach is not moving you probably still have a bad cam sensor, OR whichever sensor tells the tach where to point.
Your symptoms/codes still point at a tach reference issue. New parts or not.