Assuming you meant the following, then Yes. That works too.

"At the time the lawful money in question was earned, I was not performing a function of, acting as agent of, in contract with, a Government agency...."