P0335 is set by an error signal on the crankshaft position sensor. The sensor itself is simple, but a problem with any of the wiring between the sensor and the ECM, including a poor ground, can cause problems.
When you replaced the sensor, did you use OEM or a name brand aftermarket part? I'd expect to pay $30-$40. If you paid significantly less, the part might have been too cheap and failed already.
If you have a multimeter, I'd check out the troubleshooting procedures for the crankshaft position sensor. The full factory service manual is available at tearstone.com, and the check procedures are in section 13B, page 13B-248. Skip the steps that require a special Mitsubishi scan tool.
Another thing to check is the physical connectino between the crankshaft sprocket and the crankshaft reluctor wheel. The sprocket controls the physical timing of the engine, and the reluctor controls the spark timing. Those two devices should be held tightly together and aligned with a roll pin. It's not rare for the pin to shear and then the reluctor wheel gets out of time with the sprocket. Sometimes the reluctor turns some and then jams in a new position; sometimes the reluctor spins freely. Both are bad and cause crank/no-start, even though the timing marks all line up.
You check this by removing the lower timing cover (sorry!) and inspecting the timing marks. There's a divot on the sprocket, a half moon on the reluctor, and a line on the engine. All three should line up. If the sprocket and the engine are aligned but the reluctor isn't, that's your problem. The picture below is correct. You can just see a half moon cutout in the reluctor wheel (green arrow), directly behind the divot on the sprocket.
View attachment 45987