340 issue after camshaft change

It's not very probable......but it is certainly possible.

Maybe compare lobes and angles with the old cam?