It may be the ignition switch (or you replaced the lock cylinder?) regardless I’d start at the easy stuff and work my way up. Not knowing exactly how or how long the symptoms have persisted.
A bad starter solenoid could be intermittent and no sound. Bad starter is click from the solenoid and no crank. Both are known to maybe work if smacked with a hammer…or rock.
If you turn the key to run or if you suspect the cylinder isn’t pushing the rod far enough on the switch ( which I think you can see? Been 30 years since I’ve worked on a square ignition switch) then key in run, jump the solenoid and see if it starts.
If it starts you’ve eliminated the starter and main battery power to it as issues.
Next try to start it manually with a screwdriver in the ignition switch.
If it starts it’s in the lock cylinder/rod. If not then back to the wiring diagram and chasing wires that
@AuroraGirl posted.
That’s a super clean truck though. That’s why I’d equally expect a bad component as much as a short in wiring.