Does revving a 2003 ford f-150 with 61,000 miles up to 5000 revs cause any damage or hurt it?

My foot slipped from the floor because I was reaching for something in the back seat, when my foot slipped off the floor and hit the gas pedal and revved it up to about 5000 revs, I'm wondering if it did any damage or will in the future, it seems to run good now however

The newer computerized cars have a limiter built into the engine management computer that will NOT ALLOW the engine to be over-revved to the point of damage.

It shouldn't hurt, if you don't do it all the time.

Your foot slipped OFF the floor onto the gas pedal… Yeah, okay then

No. I worked in test and development of new vehicles and engines and we would redline many during testing for longer periods than just a few seconds. Actually held one engine at redline until it blew a rod through the side out of the block and it took almost 30 minutes to do so.

Is the red line above or below 5000 rpm? There's your answer.

It won't rev over the redline. There's a spark limiter that makes it not run faster than that.

I don't K

I don't think so, just don't do it again.
I've got the same truck. V8 Ford f150
Had for 13 or 15 years already. It has over 200,000 miles on it. It's a great truck.

Maybe you stirred up the oil pan a little bit?

No your car is fine