Why does 1999 Oldsmobile aurora stalls when stopping once out of every 100 times?

on my 97 the cause was the cam position sensors, there are 2 it cost me $500 at the caddy dealer