05 Nissan Altima Hard to start after changing crankshaft sensor

91k 05 4 cyl Altima, problems started last week when car would stall when stopped at traffic lights, hesitates at hwy speeds and would not start easily, after changing crankshaft sensor (major pain, thanks to Tester’s advice) and cleaning connector that was clean anyway, and cleaning engine oil out of the hole where the sensor was sitting, the engine takes a lot longer to start? Same codes are put out P0335 and P0725. Any help would be appreciated.