Is it the original CPU? Did it ever have any repairs done or visible damage present around U41 and or U42? These are the PIA chips for the Display interface.
Does everything else work? Switches, solenoids (when it happens, remove the glass and see if the kickers, pop-pumpers and / or targets still work). This can lead you in the direction of the problem. If none of them work, it's possible the main CPU is dropping out.
If everything else works, it could be an intermittent display problem. Check for bad connections on the Display Master board.
G