Yes, but I always go for the cheap and easy to check components before I start changing ECUs.
To paraphrase Sherlock Holmes, once you have eliminated everything else, whatever is left must be the problem. And given that the fault occured directly after a connector pulled out I'd start there with...