stalls when its put in reverse or drive
is there a cam sensor if so were is the location
Yes there is What makes you think it's the cam sensor? Also is your check engine light on and at what rpm does your car idle
I would do a tune up if the car has not had one in over 30k miles. New spark plugs, engine air filter, oil change. Then check.
How many miles on your car?