Been there done that...my fix were those amazon pedals and install seat jackers to the rear of the seat...
https://desertdoesit.com/collections/all/products/front-seat-jackers-2019-2025-ford-ranger-maverick-escape?variant=39621982912594
Tried and verified with torx 30 bit.
Why nobody ever posts that tidbit of info baffles me.
My 15 yr old installed it. "Son why is there only 3 screws installed?"
30 minutes later... "I found it. It was stuck on the end of the magnetic mat" (insert manly head slap face)
Had the same problem. The angle and surface of the gas pedal made it way too slippery.
Ended up getting this in black and solved the issue. The rubber strips on them make all the difference