How long can I expect to continue to test positive?

A (I hope) small hijack if I may …

I have been triple vaxxed w Moderna and AFAIK never have had COVID. I’ve certainly never tested positive while (mildly) ill with something respiratory now and again since COVID began.

Is there an affordable practical sensible test to determine if I ever did have it? A test which can distinguish between prior vaccination and prior infection?