Yes, this sounds like a fiddly issue.
There has been loads of rain over east and there is one critical loom connection right next to where water drains from the windscreen.
It's the engine loom harness connector down below the brake booster and near the exhaust manifold. If that has got moisture in it, some of this is possible. An auto elect could easily check its integrity. All voltage must be bled from the systems capacitors with battery disconnected first.
Make sure battery connections are tight as.
Another to check is the main positive cable from the battery to the firewall. It's right up under the dash high, behind the glove box. Ours was not very tight and left uncovered in manufacture. Whoopsie daisy. Only check that with battery negative terminal disconnected and secured away safely.
The integrity of the cam sensor can be tested by a technician with the right tools using the guides posted by
@BlackVXGTS. Make sure the mechanic or technician looking at it doesn't fire the parts cannon unless there's more than guess work involved.
There's a gremlin in there somewhere and I'd suggest it was in there before the BCM swap.