Again this isn't some hypothetical exercise. Australia and NZ have just done this and now have basically eliminated COVID-19.
As opposed to manufacturing and distributing 100s of millions of tests each week which is very much an unproven exercise.
The problem in the US is that you cant pay people enough to change their minds about the politics. They would be, and many in fact are, millionaires and they would still refuse the test. Even if it meant jail time.
These solutions simply don't work in America.
And you can fund it exactly the same way you did for the GFC (print money) or WW2 (war bonds).
But compare it to the cost of the US bouncing in/out of lockdowns for the next 9-12 months.
it's not indefinite - it's just long enough to cut down unknown transmission to a managable number for contact tracing to kick in. Then public health measures like masking up and distancing is effective enough afterwards.
Businesses cannot stand uncertainty - a on-off lockdown that they cannot predict is the worst, because they cannot make investment decisions with this sort of huge uncertainty.
This is anything but simple. Vast majority of businesses and people will not be supported if indefinite lockdown continues. The hidden costs of bankrolling an entire country for an indefinite period is much greater than the cost to deploy a persistent, scalable testing framework. The latter is also an investment into the future as this will not be the last pandemic.