First, I think many prayers are in order for the aged Priest. He has dedicated his life to his vocation and we applaud him for that.
Second, from what I have learned, the consecration of bread and wine into the Body and Blood of Jesus Christ relies on proper form, yes, but also intent. If it was Father’s intent that he speak the words properly and consecrate both species, but his mind scrambled them up, then there still is Christ’s Body, Blood, Soul and Divinity on that altar. Intent is also applicable in the Latin Mass. If he is reading, it may be that he loses his place. If he is going from memory, he may think he’s doing it right.
If the intent is not there, if Father just has no interest in getting anything right and says whatever words he wants when he wants to (which I don’t believe is the case) and doesn’t even believe in the words - then you have a problem.
We get into the question of valid or licit. Did you receive a valid sacrament? If the intent was there - I would speculate yes, but can stand to be corrected by a liturgist. Was it licit? That would definitely have to be answered by a liturgist.
If an aging priest continually falters in his duties, it may be time for some intervention. Talk to the priest in charity, ask him if he realizes that the words are not correct sometimes. If he is a dedicated priest, he will seek guidance from his peers or his local Ordinary. He may also rely on one of you in the congregation right after those words to let him know he did it right. If not he should speak them again and avoid confusion. Help him to help himself in other words.
Let us pray for this man and all priests that they may be the good shepherds we need in this day and age.