Raising a four-headed Piñata comes down to breeding, not luck. You start by obtaining a two-headed Piñata, then pair two of them in the same way you originally produced the two-headed one.
In practice that means meeting the romance requirements again — the right residents, the right conditions, and a suitable home — and waiting for the offspring. Repeat the process with the results and the extra heads stack up.