Code:
mute@geek:~/test$ awk -v FS='|' 'NF == 11 { printf("%s,%s,%d,1,%s,%s,%s,%s,20,%s,1,%s,%s,%s\n", $1, $2, ($1 == 405) ? 3 : 1, $3, $4, $5, $6, $7, $8, $9, $10) }' input
1,2,1,1,3,4,5,6,20,7,1,8,9,10
405,2,3,1,3,4,5,6,20,7,1,8,9,10
1,2,1,1,3,4,5,6,20,7,1,8,9,10
33,2,1,1,3,4,5,6,20,7,1,8,9,10
11,2,1,1,3,4,5,6,20,7,1,8,9,10