The MBTA might inch to the edge of a financial cliff as soon as fiscal year 2024, when the agency will have exhausted all of the nearly $2 billion in federal COVID-19 aid it received and will face a budget gap of more than $230 million, officials said Thursday.