Most cases no
The chances of being born with a heart
defect are approximately 8 per every thousand deliveries (a little under 1%).
Most babies born with a heart defect (asd, vsd or any of a multitude of others) have no family members with heart disease. Now, when there is a first line family member with a heart defect the chances increase to about 2-3%, so there may be some genetic component.