I have a 2008 F150 160k miles and all of the warning lights came on (Check engine, ABS, low tire, parking brake, 4x4 Hi and 4x4 Low from what I remember). The odometer was just a blank green screen. I turned the truck off and the radio didn't turn off like it normally does when I open the door. After turning it on and of a few times it was fixed. This is the first time it happened sobe I bought it a month and a half ago from a big dealership, but it has so many miles they sold it "as is." I did get them to replace the catalytic converter 2 weeks after I bought it. It's been almost a month since then and this happened. Also, I don't know if this is related, but I noticed recently my front windows are starting to be difficult when rolling up, not down. What could be the issue with the dashboard? I tried providing as much information as I could.
It sounds to me like the fault is within the instrument binnacle or associated wiring as opposed to the lights being genuine warning lights. It sounds like a classic "shorting out" problem. This could be caused by a loose connection or poorly installed accessory (immobilizer, aftermarket radio, etc...)
I'd be inclined to start checking wiring plugs are firmly fixed in place. Also look for signed of water ingress as rain water leaking onto the circuits could cause a short.
This can be the key cylinder switch or the harness connector at the other end. These are known to come loose. Find the large harness coming off the key cylinder and follow it all the way to the firewall. Check any connector you come to by opening it, checking for moisture and corrosion, and reassembling it. Check the large firewall connectors as well.
If your in the US check your local laws for implied warranty of merchant-ability. AKA lemon law or implied warranty. Most states have 3 years but some have limits on used vehicles.