Assuming i'm correct in that this no start/shutting down symptom manifested AFTER you did the cam/lifter swap? It never did this before?
Then it stands to reason that it was probably something done during this job that caused this. Perhaps one of the OEM sensors or electronic parts that got swapped out with aftermarket, or possibly something got manhandled.
Another common cause of electrical gremlins immediately following major engine work is damaged electrical connectors, wires broken free from the terminals inside connectors, and terminals pulled free from inside connectors. It's a really common thing that when guys are in the engine well connecting/un-connecting plugs, lifting heavy parts and moving things around that things get broke.
One of my most frustrating jobs ever was a gremlin caused by a wire conductor being broken inside the insulator, inside a thick harness bundle, with no visible external damage whatsoever, in the occupant restraint system.
Here is an example that i remember from the recent past:
So over a month ago I was sitting in my 2017 1500 5.7 hemi Bighorn late one night or early one morning smoking a cigarette. Something I don't do in the house. Normally don't sit in driveway to do it either in truck but it gets hot in L.A. Lower Alabama so come daylight I was woke up key on truck...
www.ramforum.com
Quote from
@Lilhoss77 , in that thread
"Hey yes sir Mr. Ken 226 thanks for the advice and I apologize for not responding sooner but I did make a little progress late in the week and happened to bump a wire going into connector1 on the pcm while laying in the engine compartment upside down touching some other connectors for the 4hunderethand7011thandhalf time. The bumping of said wire woke the electronicly operated fuel injection system and of course I wasn't expecting that or the loud almost roaring loudly ringing sound. RRRRRRRRRRRRR!"