Nothing about firing someone would intrinsically prevent them from running for office, unless you fired them for running for office.
Nothing about firing someone would intrinsically prevent them from running for office, unless you fired them for running for office.