Definitely seems like something shorting out, maybe a bad connection to the microcontroller or something on the other side of the PCB. May require more disassembling if everything on the microcontroller looks fine (given it wasnt fried by a power surge..)
Highly doubt it would be anything related to diodes.
tested all diodes and resistors also that ground connection of key (5, t, g, b, space) trace back to micro controller is also completely fine i doubt must be faulty micro controller , i checked back of the pcb but there is no component only leds
important - when i connect ground of (5, t, g, b, space) with ground of (4, r, f, v, ) 5,t,g,b,space key works for 2 - 10 minutes then it again not working