Specifically if I have a known function $F(s)$ is there some way I can find a function $f(n)$ that satisfies this equation?
$$F(s) = \sum_{n=1}^\infty \frac{f(n)}{n^s}$$
I'm imagining something similar to finding the coefficients of a Fourier series.
Although there might be some trouble in implementing this in practice, I had found a trick that same afternoon that seemed to work. I defined this finite difference operator:
$$\square_{a,b} F(s) = \frac{F(s-1)-bF(s)}{a-b}$$
It "kills" the $b$th term in the Dirichlet series while leaving the $a$th term untouched. In order to extract the term I want, I do this for all values of $b \ne a$ and in the end I get this expression for $f(a)$ given $F(s)$:
$$f(a) = \left(a^s\prod_{b=1, b \ne a}^\infty \square_{a,b} \right)F(s) $$