Here's an easy way to do it:
First rank the cards from $1$ to $52$ however you like (standard would be $2\clubsuit=1$ to $A\spadesuit=52$ but it isn't important).
As there are $>4$ cards we must have some duplicated suit. Choose the special card as one from the duplicate suits. Doesn't matter if you have more than one duplicated suit, nor if you have more than two cards in that suit. It will matter which card you choose to hide from the duplicated suit, we'll come to that later.
Place a card of the duplicate suit first. Now you know what suit the missing card has. Note that there are only $12$ possible cards for the missing one.
There are $6$ permutations for the other three (viewing them as Low, Middle, High). Thus the order in which they are placed determines a number from $1$ to $6$. You can number the permutations however you like.
Viewing the duplicate suit cyclicly, add that number to the card on the far left. Thus if you have a $6\diamondsuit$ on the far left and the permutation is number $4$ then the answer is $10\diamondsuit$. If the far left card is $K\heartsuit$ then the answer is $4\heartsuit$ and so on).
The key point is that of the two cards in the same suit one of them must be $≤6$ away from the other, that tells you which one of the two to hide.