What are the signs of a bad camshaft sensor for a 2002 Dodge Intrepid?

symptoms of a bad sensor will be , engine cutting out then starting again as you drive. cutting out then being able to restart when vehicle is stopped. hard starting. if left long enuff before replacing, you will not be able to restart