This could be an intermittent dysrythmia/arrythmia and could also be a heart valve issue (less likley).
It could also be dehydration
and some other more obscure diagnosis. Get over to your doctor or emergency room and get checked out. If this occurs again, go to the er or call 911.