Rule explained
Appeals
If a runner misses a base or leaves early on a caught fly, the umpire won't call it until the defence appeals: touch the base (or the runner) with the ball and tell the umpire.
Appeals must be made before the next pitch, play or attempted play. At the end of an inning, they must be made before the pitcher and all infielders have left fair territory.
An appeal can be made after the third out if it gives a better third out. That's the "fourth out" appeal, and it can cancel a run.
If time has been called, the pitcher puts the ball back in play first. Faking a throw while on the rubber risks a balk.
Quick answers
Yes, if it replaces the third out with one that cancels a run, and it's made before the infielders leave fair territory.
Situations this rule decides
Plain-English summary. Check the Official Baseball Rules and your league's rules for the exact wording.