At present, there are outstanding discrepancies between standard model predictions and measurements of the muon's g−2 and several B-meson properties. We resolve these anomalies by considering a two-Higgs-doublet model extended to include leptoquarks and a dark Higgs boson S. The leptoquarks modify B-meson decays and also induce an Sγγ coupling, which contributes to the muon's g−2 through a Barr-Zee diagram. We show that, for TeV-scale leptoquarks and dark Higgs boson masses mS∼10−200MeV, a consistent resolution to all of the anomalies exists. The model predicts interesting new decays, such as B→K(∗)e+e−, B→K(∗)γγ, K→πγγ, and h→γγγγ, with branching fractions not far below current bounds.