Check your fuel pump pressure, regulator pressure, and the fuel filter. You may have a weak or dirty injector also. You can pull those and have them tested. I doubt if it's the distributor or you would get a check engine light plus if it's electrical it's usually either good or bad not intermittet. It's easy to check the TPS with a digital volt meter.