If you do not have the center console, then it's as simple as removing the radio trim (it unsnaps by gently pulling from the top left and right corners, then sliding fingers down the left/right sides). You will then see two small bolts that hold the cup holder tray from the center dash.
I'll guess center floor console type equipped Fords are the same.
Give an answer, they learn for the day; suggest a search, they learn for a lifetime.
2007 F150 STX Supercab (4.6 2V V8)