Sounds like electrical to me. Make sure you have sufficient engine grounds, also try unhooking the tach. I have seen this happen on rare occasions. Also, may want to try by-passing the battery shut-off switch, and/or replacing your ignition toggle switch, another commonly over-looked thing. If electrical system checks all good, I would do a cylinder leak-down test, way, way better than a compression test. Good luck!