As we all know, electrical problems can be difficult to diagnose.
One simple method is to check all your grounding locations to see if anything is amiss. There are several electrical grounding locations throughout the engine bay area. IIRC, there is a grounding location near the front wheel area. If the impact you had was so significant that you had to replace the wheel bearing, then some things that should remain solidly attached may have been jostled loose. It may be that a loose major ground location is giving you your intermittent problems.
Others on this forum may have more specific locations to look at.
One simple method is to check all your grounding locations to see if anything is amiss. There are several electrical grounding locations throughout the engine bay area. IIRC, there is a grounding location near the front wheel area. If the impact you had was so significant that you had to replace the wheel bearing, then some things that should remain solidly attached may have been jostled loose. It may be that a loose major ground location is giving you your intermittent problems.
Others on this forum may have more specific locations to look at.