5.2 and 5.9 magnum cam

can you put a 5.2 mag cam in a 5.9 mag engine without having to tune or program the ecu or valve springs i think the 5.2 cam is diff specs for sure and i think better performance