I am sorry for your situation, and will offer my humble opinion and advice, as someone who has been there…
Now, the short answer is YES, it can be done, you CAN trust again, but it will depend on you, and ONLY you…
First, you have to make total peace with your past marriage, and how it ended. That means, you have to come to an understanding that the affair was NOT your fault…It was HER FAULT, and hers ALONE………
Next, you MUST come to the realization that the next person is innocent of any wrong-doing that your ex did, period… The next person is a TOTALLY different individual, and it is not fair for you to project feelings of mistrust on to them, it’s simply not right………
As someone who has done all of the above, I will say this, it CAN be done, after a 22 year marriage that was destroyed by infidelity, a long dark time, and much soul-searching, I made peace with it, and found love again…
I wish you all the best, and will say a prayer for you.