Help !!! New engine will not start ?

I have spark

I have fuel

I was wondering about ignition switch ?

Or maybe solonoid ?

Or brain box for electronic ignition ?

Car ran and everything worked when parked 3 years ago ?

Thanks for the replies !