Ballast failure replacement
It’s completely the wrong ballast, who sold this???? Never shop there again.  Wow!
That ballast is an instant-start type for huge 8’ long tubes (2438.4 mm).
The ballast you want is the very common dual F40T12.   And you want a rapid-start or programmed-start type, as that will have the same exact wiring as you already have.