I have a code P0305 Cylinder #5 misfire detected, on 2004 Ford Ranger

the truck was ideling for about 10 minutes than the check engine light came on, any ideas where to start?

2 answers
START BY CHECKING FOR FUEL SPARK AND COMPRESSION ON #5 CYL. IF ALL THAT IS OK, CHECK FOR A VACUUM LEAK THAT WOULD
EFFECT THAT CYL. IF NOT SURE WHAT TO DO GET SOME HELP FROM A CAR PERSON.
you can ck compression and spark put to save time and $ get help