Cam Sensor on 1995 Buick Park Avenue

Like to know where the cam sensor is located. Just got car back from mechanic.
Had car checked for stalling, each different garage didn't solve the problem.This last mechanic assured me the problem was caused by the cam sensor.
I hope this last repair resolved the problem ...any comments gratefully accepted

Asked by for the 1995 Buick Park Avenue
They are generally at the end of the cylinder head, you will see a sensor a probably 3 wires going to it. Here is a pic: