Posterior tibial tendon

Hi! Hurt my posterior tibial tendon this weekend & went to the doctor & got it wrapped & booted & am going to be resting till the NYC marathon. Is it okay to still run the marathon in two weeks? / are there any tips to aid recovery & keep fitness as much as possible during this time