It’s clear FAA lacks the expertise to regulate this kind safety issues. It’s not easy for them to have it either since the innovators are always a step ahead but it’s clear they need to shape up.
I don’t have any knowledge of the process for verification of new airplane models, but one thought as software developer would perhaps be for FAA to become more digital in their efforts. Require from manufacturers (At least for bigger models) a digital virtual model of the entire airplane that will be used for simulated tests. You could for instance test faulty signaling sensors but also the whole subseqqunt chain of events taking into account pilot actions (or lack of).
It should be a routine to replay a simulation with data from previous crashes. In this particular instance perhaps FAA would have understood the reasons of the first crash and been able to stopped the second crash from ever happening.
You could even develop methods that can generate data to be able to predict hidden issues with an existing design without a real crash ever happening.