I’m not sure what the dealer checked, but have you inspected the wiring harness for damage and chafing? The wiring runs from the camshaft position sensor, over the oil dipstick bracket, back to the passenger side of the engine block then up to the valve cover and over to the PCM.
The harness can wear on the dipstick bracket and if the harness is routed behind the coil rail, it can also rub on the engine block. If the signal wire is shorting to ground, the PCM will lose the signal.
Your Jeep uses a PCI bus (network wire) that runs through the PCM and several modules, including the data link connector, SKIM (module), instrument cluster, airbag module and radio. After market radios can cause issues with the PCI signal. I don’t think this is the source of your issues but it could block the scanner from reading the network modules that are beyond the radio.