There is no "R4 card for Pokémon Pearl." R4 is a brand of flash cart—an unauthorized Nintendo DS cartridge that loads ROM files (game backups/homebrew) via microSD. It enables piracy.
Buy Pokémon Pearl (DS cartridge, $30–80 used) or Brilliant Diamond (Switch, $60). Supports developers, preserves save integrity, enables online features (GTS defunct but local trades work), avoids malware endemic to flash cart kernels.
If you own Pearl and want homebrew (randomizers, QoL mods), a flash cart on original DS/DS Lite is legally defensible in some jurisdictions for personal backup. But R4 hardware quality is poor—consider DSTWO+, Ace3DS+, or R4i Gold 3DS RTS from reputable sellers.
Bottom line: R4 = piracy enabler. Pearl = game. They're separate. Buy the game.