hehehehe I had the exact same thing a few weeks ago!
It is the ignition switch!
try turning it ~ 80 to 90% of the way to "START"
I sprayed contact cleaner in the key hole and it worked.
It was funny because the starter turned but no spark except when turning off! Happened just after I upgraded my distributor to the ZX so I chased my tail for while before stumbling on it.
It drove me crazy.
It is the ignition switch!
try turning it ~ 80 to 90% of the way to "START"
I sprayed contact cleaner in the key hole and it worked.
It was funny because the starter turned but no spark except when turning off! Happened just after I upgraded my distributor to the ZX so I chased my tail for while before stumbling on it.
It drove me crazy.