風・型: the difference
風N4
Meaning
-style, Way, Fashion
Past papers
Example
お母さんはオランダ風のサラダが好きだよ。
My mother likes Dutch-style salad.
型N3
Meaning
Model, Type, Pattern, Kind, Shape, Size
Past papers
Example
整数はデータ型の一つである。
An integer is one of the data types.
How to tell them apart
「~型」 is about shape, look, model and classification: 「小型」, 「犬型」.
「~式」 is about the way something works or is done, or a ceremony: 「押しボタン式」 (push-button type).
「~風」 is about style and flavor: 「中華風」 (Chinese-style).