The plastic connector for the crankshaft position sensor can break or wear out. Fix it up with this replacement plug housing. This repair part is an affordable solution, especially compared to replacing the whole rear wiring harness. You get the molded plastic plug housing plus a complete set of pins and boots to re-attach the wiring.
Fits many Subaru models, including: