These cars with computers don't like low voltage.
Low voltage can cause all kind of weird thing to happen.
I know you said the battery and alternator tested good.
But the first thing would be to do a quick check to confirm this.
What is the voltage reading across the battery terminals with the car not running and everything off??
{a fully charged battery should read 12.6 VDC}
What is the voltage reading across the battery terminals with the engine running?
{should be approx 13.5 to 14.5 VDC}
The voltage should 13VDC or above when driving the car with lights, A/C, wipers, etc. running.
This means the alternator output is enough to keep the battery charged, while delivering enough current to run the engine and the accessories.
If these numbers are good, then start checking for bad cables and bad grounds.