They do have jurisdiction over the candidate and campaign you endorse, though. If you contacted your candidate and offered them money or services in the hope that they could use your help to get elected, and they accepted your offer they would be guilty. You wouldn't be.
Unfortunately, it seems like a fairly impotent law if all you have to do as a foreign national with an interest in the election is to support a candidate without their endorsement.
You might want to check with Humberto Álvarez-Machaín (acquitted, sure, but not because the law didn't apply to him) or Manuel Noriega about that.
I guess not on US TV or US billboards since they're under the control of the US. But if I buy ads on the internet that just happen to be seen by US citizens there's nothing the US can do about it, right?
I'm a foreign individual who went around making comments on the US election... what's the difference between me doing it privately and a company doing it?