Chosen Solution

So some of the keys my MacBook Pro recently randomly stopped working and it randomly starts and stops again. But I don’t think simply changing the keyboard is going to work cause I believe the issue is with the logic board. I’m looking at the logic board here and it seems it has a 2.8Ghz processor. My macbook has 2.5Ghz. would this logic board work in my machine? Update (11/05/2020) @danj and here is the snapshot

Not good ;-{ The new battery is already worn out or just not a very good battery from the start! While the cycle count is still quite low at 76, the capacity is below 60% which tells me one or two of the cells are failing. This is also a sign of a battery which likely is out gassing (swelling). I just replaced a battery similar to this which was causing the trackpad to become difficult to press. It too was a replacement battery less than a year old. The letters R to O share the same scan line within the ribbon cable to the logic board. To prove the issue shut down your system and place it in a cool area in your house (no colder than 40℉/4.4℃) cellar or garage for a good four hours. Now restart it does the keyboard work correctly? If it did then you proved it. Update (11/06/2020) The trackpad issue maybe more an issue with the metal plate is bent