It's possible the Jacobite forces could have held out if their Commander had ducked.
They would then have taken a terrible toll on the Williamites who would have been pinned before them.
Whether that would have led to a Jacobite 'Victory' or not would still be in the balance.
IIRC the Jacobites were running low on ammunition and their Cavalry were on the opposite flank from where the action in question was taking place.
So even if St. Ruth lived he may only have been able to hold his position and continue to attrit the Williamite force before him.
The other Jacobite forces were well-placed to command the field, so if the left flank holds the Williamites are out of options.
By that point in the battle it is plausible that the Williamites would have given it up as an impossible task and withdrawn.
Sarsfield (with the Cavalry) may have been able to harry them, turning the withdrawal into a rout.
Disengaging under fire is probably the hardest thing for any force to achieve while maintaining good order.
If the Williamite forces can be shattered before they reach the safety of Athlone then things get really interesting.
That re-establishes the Shannon Cordon as a defensible frontier for the Jacobites.
The victory itself might encourage the French to commit more forces and resources to Ireland.
A Jacobite victory at Aughrim gives them a chance but only a chance.
Many hard and costly battles would still lie ahead before a 'Jacobite Ireland' would be more than a pipe-dream.
Whatever occurred, Ireland would remain a pawn in the power of French startegy. To be advanced or sacrificed accordingly.
Falkenburg