ようなことを

such a thing

→ よう
phrase Rare #20,282
such a thing Used to refer to an action or situation of a certain kind, often translated as “something like that” or “things like that.” The を marks it as the object of the following verb.
JA: そんなようなことを言わないで。
EN: Don't say things like that.

彼が人をだますようなことをするのほっといてはいけない

We mustn't let him get away with deceiving people.

その男はそのようなことをするほど馬鹿ではない

That man isn’t stupid enough to do such a thing.

君はそのようなことを聞いたことがある

Have you ever heard of such a thing?

子供の前で子供のを壊すようなことを言わないで

Don't say things in front of children that would shatter their dreams.

恨みを買うようなことを俺がした

Did I do something to earn your resentment?

— レオン (1994)

彼女は非難されるようなことをしたのを許してほしいと言った

She said she wanted to be forgiven for doing something worthy of condemnation.

次のようなことをあなたに質問したい

I’d like to ask you something like this.

人を試すようなことをしないで

Don't test me like that.