What does P0335, P0173, P0170 codeS mean and how much show it cost to repair on 2001 Mercedes-Benz C320

My check engine light came on and took to autozone and they gave me the code P0335, p0170 and p0173. What does this mean?

1 answer 1 comment
p0335 code is flashing your crankshaft position sensor and the 0170 and 0173 are your mass air flow sensors the MAF you could possibly get cleaned,that is only a temporary fix or just change them out .
I just replaced MAF on my 2001 C320 after i received codes P0170, P0173 and P0335. Should this solve all the codes? In other words, do I still need to replace the crankshaft sensor or will replacing the MAF remedy all these codes? It still shuts down if I drive it a few miles and turn it off for 10-15 minutes it will not start again. By the way, I replaced all the air filters prior to changing the MAF. HELP!