I have an r4 card, but it no longer works because I bought a new game and I believe that the r4 card is now blocked. Can you do something there?
The best way I can think of to install blocked flash cards would be to install the Luma Custom Firmware.
I already described how this works in your last question:
Whether it will help you if your card slot is partly broken is of course questionable.
With the no longer developed homebrew "TWLoader" there's a software solution for at least some DS games:
https://wiidatabase.de/twloader-v6-7-0/