camshaft sensor??? on 2007 Dodge Ram 1500

My truck was sputtering and stalling...code reader revealed camshaft sensor...so I replaced the sensor and the code cleared...2 days later same symptoms and chk engine light comes on...codes again reveal camshaft sensor. Does my truck have 2 sensors?

1 answer
How many miles on engine? Code does NOT always mean part ,it could be wiring or other worn parts affecting the READING of the sensor.