I would say it is more likely you have a bad ground or battery feed somewhere. Or it could even be fuel delivery. I had a fuel pump go bad that would do the same thing. I would say it is a power or ground. In all my experience in the automotive industry, I have not seen many engine computers go bad.