84 d150 getting no spark

Hello everyone I own a 1984 dodge ram and I'm having trouble getting spark. Been my daily driver for about three months now. So my alternator went and now that I replaced it it's not getting any spark. I've changed the distributor coil spark plug wires and starter relay. Also notice when we where checking for spark we had the coil wire out to see if it was getting spark. wouldn't get any spark until I turn the key all the way off it will spark. I appreciate any and every response.
Author: Sam84218