iMac extremely slow suddenly
Check the RAM.

Ordinarily bad or improperly seated Ram will prevent booting BUT it is worth checking.

However, this sounds like a hardware problem as you have done so much troubleshooting.

My suggestion is to bite the bullet and take the old Mac into a brick and mortar Apple Store.