You still pay the mana cost when casting the exiled card, and you must follow all timing rules for it.

Artwork
Loading artwork…
Radiant Scrollwielder
Strixhaven: School of Mages · #221 · EN
Nonfoil—Foil—
Card rules
Instant and sorcery spells you control have lifelink.
At the beginning of your upkeep, exile an instant or sorcery card at random from your graveyard. You may cast it this turn. If a spell cast this way would be put into your graveyard, exile it instead.
2/4
Rare · Illustrated by Campbell White
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Some instant and sorcery spells instruct other things to deal damage rather than deal damage themselves. In these cases, you won’t gain life for that damage (unless the other things also have lifelink). Notably, a spell that instructs a creature you control to fight won’t cause you to gain life.
If an instant or sorcery spell you control with lifelink deals damage to you, you gain and lose that much life simultaneously. In this case, your life total doesn’t change. (You may gain life if the spell also deals damage to other permanents and/or players, however.)