Try swapping the fuel injector for #4 to another cylinder and see if it follows the injector.
It might be a sticking valve in that cylinder caused by a bad valvespring or gummed up valves. You won’t find that on a compression test. Remove the valvecover and take a good look at the valvesprings for #4.