What could cause water hammer after changing a valve cartridge?
Here is what I found.  I went to the hardware store and located two of the replacement valve cartridge made by Delta.  Reading the back of them I found that one was for faucet made after 2005 and the other was for faucet made before 2006.  Being that my house was built in 2000 I went for the one made before 2006.  I then replaced the after market cartridge with the new one from Delta and now life is good.

The after market product does not mention anything about manufacturing year so I am thinking it is for newer versions of the Delta 1400 Series shower faucets.