"Flight" ticket
Most GOV.UK pages say "ticket". Moldova's says flight ticket. If you're leaving by train or bus to Romania or Ukraine, check with the Moldovan authorities what they'll accept.
Overstays are enforced
Moldova registers your arrival automatically and, per GOV.UK, strictly enforces penalties, including fines and expulsion, for staying longer than allowed. The 90 days are counted in a 6-month period.
Transnistria
The FCDO advises against all travel to Transnistria. An onward route through it isn't a safe plan.