You may be correct. However, when I had a problem with the grounding of the 4WD system a few yrs ago, and I had cleaned and reconnected all obvious grounds. Then someone on this forum suggested this process; I completed the suggestion. The results were a full functioning of the selector switch (AWD, 2WD, 4WH Hi, and 4WD Low) and still the case, almost 3yrs later.
So that ground wire (on the above mentioned harness) which I reconnected to the firewall must have been deteriorated beyond that point, because this fix worked.