A former senior executive at Doximity, the online networking platform for medical professionals, was sentenced to more than two years in federal prison for using confidential company information to execute a multimillion-dollar insider trading scheme, federal prosecutors in New York announced.