I did a quick search and it looks like there is a capacitor, probably in the door pedal, that has failed. The machine should run OK without it and there are plenty if how-to Web posts about it.
Here's one
https://www.instructables.com/community/How-do-you-fix-a-sewing-machine-that-wont-stop-ru/
Did that help? Please post a reply.
June 2020