Will this be okay for a 40 amp range? The box was set a little too low. I wasn't sure if they bend what cause any issues.
I'm not certain what guage that wire is but many manufacturers will cite a minimum bend radius. It may or may not be code compliance wherever you are in the world.
I suspect that wire has a minimum bend radius between 1 and 2 inches.
You can achieve that most easily by just rotating the receptacle. The wire will tail upwards, which will look strange, but it will be behind the range so as long as you can maintain the clearance required, you'll be fine.
I can't comment on the correctness of the bend radius, but if you're concerned its too tight, this might help:
I searched around a bit and found this Eaton 5745N which I think would fit as a replacement plug in your situation:
(Image borrowed from Amazon)
It seems to be available from various online and big-box outlets.
As @FreeMan comments - make sure there is enough of clearance behind the range such that the cable doesn't get overly bent by the back of the range as it it is put back in place.
That's obviously a moulded plug, but if there's room between the socket and whatever's in front of it, that plug could be changed for one which lets the wire come out of it perpendicularly. Depending on regs where you are, the whole lead may need changing for one with a moulded plug as described.
40 Amps out of a plug top?? Not with 220v...
Another solution might be to dig out whatever is impeding the wire - so there is some room under, where the wire is jammed.
So, Matthew's solution works if your plug is symmetric; but what if it isn't? The grounded types mostly arent.
A quick fix is to use an Male-to-Female adapter with a right angle in an appropriate direction, e.g.:
(if that fits). Then you won't have to worry about the cable's tolerance to nasty bending. A second, similar alternative is using a rotating extension cable: