Hello!
If a card is replaced, both probabilities will be out of the same amount of cards as it was replaced.
First of all, 1/4 of the cards are diamonds, so we have a 1/4 chance of selecting a diamond.
Next, there are four kings in the deck, and 4/52 is equivalent to 1/13.
Finally, we multiply the two probabilities, so 1/13·1/4=1/52.
There is a 1/52 chance of this event.
Hope this helps!