engine issues
I had a very similar problem many years ago on a 318. For the life of me I couldn't figure it out. It turned out to be a bad coil. The coil was fine until it got warm and then started acting up. Easy one to try if you have another coil nearby.
Jack