Here are your parts
Replacement parts for Frigidaire GLEFM397DBB Frigidaire/range | AppliancePartsPros.com
You may also require an overlay.
See the following for the wiring diagram.
http://manuals.frigidaire.com/prodin.../316417716.pdf
The clock/electronic control would also be at the top of my list.
The problem is that your problem is very intermittent so you can only guess at it..