I was recently fighting an intermittent ignition problem, and the CPS was one of the 1st things to change out because, 1) if it goes bad it will not necessarily kick out any DTC info., needless to say, it ohmed out and eyeballed okay; 2) it is "relatively inexpensive" $45 or so, 3) it is easily replaced, located on the engine block near the oil filter, harness clipped onto frame guide, and simple plug and play. I also replaced the ignition coil, 1) same reason, 2) more expensive $99, 3) also easily replaced, with plug & play operation. AND everything is good so far (been about a week).
Can't say this was very scientific, just intuition (MINE), but had tried heat gun and cold spray, but after 2 dozen road trips and pushing the bike after several attempts, was too frustrated to do much more (the ICM is $225...HD dealer could not program, so I asked them to return it and went this route) based also on the HD Senior Service Manager who said the CPS and Ignition Coil fail MUCH more often than the 1 or 2 ICM or TSSMs he has changed out, all things being equal. BTW, all the wiring, engine kill ckt/switch functioning was okay and main harness all checked out (electronics is my bag). Just hate "black box" potted items, nothing to analyse, just standard I/O ohmmeter checks and substitution...isn't modern electronics "fun"!!!