Yeah, that's a foul... Well, it depends. If it's truly simultaneous, it would be. If it hits the cushion first, it would be. If it hits the object ball first, it would not be. But you'd need high-speed photography or a very attentive referee to call it accurately.
If it's so close you can't...