Check the alternator plug terminals. If they are loose or appear burned or pitted replace the plug terminals. It happend to me, replaced the terminals and solved the problem. Of course it could be something else, it's good simple first check.
Clifton