POMPANO BEACH — Five hours after a man in his 50s or 60s was fatally shot under a tree near his home Sunday morning, police arrested a man who was seen by witnesses banging on apartment doors with a gun in his hand just before gunfire rang out, according to authorities.