340 issue after camshaft change

Assuming a solid lifter cam, back all your adjusting nuts off at least a full turn. If you have the proper gaps and both valves are open, it is possible the cam is ground wrong. If the cam is hydraulic, just use the factory rockers and pushrods.