Thank you for the query.
As human brain can control many areas of human body, emotions can influence many areas as well. That is why it is possible that when you do cry, your nervous system stimulates heart and causes arrhythmia
. And heart is the first thing you should have checked. To do that heart ECG should be done at first. The next step should be 24 hours Holters ECG. Full blood work, ions levels should be also checked.
Hope this will help.