p0344 is camshaft sensor, there are 2 sensors. I recommend to replace them both
p0174 and p0171 I believe are lean codes, you should check for vacuum leak especially the intake elbow. spray carb cleaner around and if the idle changes when you spray a certain spot your near the leak