how to check crankcase connector

Mercedes » M-Class » 1998-2005
Question

checked with code reader says crank case sensor code p0335 replaced sensor still wont start read code again still says crank case sensor!!could it b the connector to the sensor and how to test 04 ml 350 thanks 4 any help