340 issue after camshaft change

Very unlikely the cam is bad. It’s not degreed so anything that happens after that is still wrong. It’s not hard to set valves. If the OP is struggling with it, he may want to consider hydraulic rockers and be done with it.