Won't start sometimes

I have a 2000 Toyota Tacoma pickup with 70,000 miles. When I turn the iqnition off it will not restart for about 5 minutes. That is when I turn it off and try to restart immediately, it won’t start, but all the accessories work.

To help clarify your problem, does the engine not crank over? Does the engine crank but not catch and run? The advising reply will depend on your answer.