I had a car that would shut down about every month or so. Would find it floor level faulted out. Put a meter on the brake micro and ran it about 1000 times and never saw it fail. Finally put a digimetrics monitor on the system and it was the stinkin' brake switch..
When in doubt change it out!!