Gas dryer Flame sensor

GAs dryer flame not coming on after you start dryer already replaced thermal fuse and igniter part. need to know flame sensor can be bad, and how the flame sensor wires go back on I didn;t write it down
Geoff