starting issues

Use jumper wire to ground neutral safety switch wire at solenoid, pull off and jump to ground. See if this stops your erratic starting issue. This test will eliminate any issues with your neutral safety switch or any linkage mis-alignment issues.