Rough running

my 94 ford tempo starts okay and runs fine until it warms up. Then it runs real rough and barely goes. I was told it may be a map sensor but I can’t find any info on it.

It might be those ol’ spark plugs, also. And, air filter.