1988 TRX350D random ignition problem

I have been riding my project for a week or more (with break-in oil additive) and then the ignition gremlin comes back again. When it was running, it ran very well and all the gears functioned properly. I swapped out the old CDI for the brand new unit and still nothing. It is doing exactly what cause me to buy a new CDI months ago. One or two sparks with accompanying sputters then nothing (no spark). Come back in an hour and it will do it again. One thing I did notice this time is that prior to complete loss of spark it bogged down with throttle (after moderate riding for an hour). Once it died then it would not start again. These two items seem to be related. I am now in the process of tracing the wiring diagram. I have ohmed out all of the connections and they pass the grade. I have seen an old post that describe my exact problem and I replied to it with a question as to how it was fixed but the post was so old that I got no reply.

What would you test and/or replace next?