You could be right on both counts. Here's a picture of where the Camshaft sensor is, but you just don't want to throw parts at your problem without further testing.
Go to Google and type in "Chrysler fault P0340" and the other code to see what others have come up with.