So is the electronic ignition box supposed to shock you?

Getting a shock in this situation nothing to do with the grd connection. Post #7 nailed it. The case of the transistor is the transistor's collector, has the coil -ve back emf on it, 200-300v.
Sometimes hard to see, but there will be an insulator between the transistor case & the box.