I would guess not very long. Boeing will be throwing their considerable engineering might at the problem, and the FAA (among other regulatory bodies) will be under significant political pressure to get those airplanes back into the sky.
As a side note, Boeing stock is probably a good buy at the...